CodeQL library for Java
codeql/java-all 0.4.4 (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()