CodeQL library for Java
codeql/java-all 0.4.4 (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)