CodeQL library for Java
Search

Member predicate TargetAnnotation::getATargetExpression

Gets a target expression within this annotation.

For example, the field access ElementType.FIELD is a target expression in @Target({ElementType.FIELD, ElementType.METHOD}).

Expr getATargetExpression()