CodeQL library for Java/Kotlin
codeql/java-all 4.2.1 (changelog, source)
Search

Member predicate Annotatable::getAnAnnotation

Gets an annotation that applies to this element, including inherited annotations. The results only include direct annotations; indirect annotations, that is repeated annotations in an (implicit) container annotation, are not included. The retention policy of the annotation type is not considered.

Annotation getAnAnnotation()