CodeQL library for Java
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)