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

Member predicate MetricRefType::accessesLocalField

Holds if method m accesses field f and both are declared in this type.

predicate accessesLocalField(Method m, Field f)