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

Member predicate Annotatable::getADeclaredAnnotation

Gets an annotation that is declared on this element, excluding inherited annotations. The retention policy of the annotation type is not considered.

Annotation getADeclaredAnnotation()