CodeQL library for Java
codeql/java-all 0.5.5 ( changelog , source )
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 ( )