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

Member predicate Field::getSourceDeclaration

Gets the source declaration of this field.

For fields that are members of a parameterized instance of a generic type, the source declaration is the corresponding field in the generic type.

For all other fields, the source declaration is the field itself.

Field getSourceDeclaration()