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