CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (changelog, source)
Search

Member predicate MockitoInjectedField::usingPropertyInjection

Holds if this field will be injected by properties.

Note: if the field is not initialized, property injection will also call the no-arg constructor, in addition to any property.

predicate usingPropertyInjection()