CodeQL library for Java
Search

Member predicate TargetAnnotation::getATargetElementType

Gets the name of a target element type.

For example, METHOD is the name of a target element type in @Target({ElementType.FIELD, ElementType.METHOD}).

string getATargetElementType()