public interface JavaHasAnnotations extends JavaElement
EMPTY_ARRAY| Modifier and Type | Method and Description | 
|---|---|
JavaAnnotation | 
getAnnotation(JavaType annotationType)
Retrieves the annotation declared on this element that matches
 the input annotation type. 
 | 
java.util.Collection<JavaAnnotation> | 
getAnnotations()
Retrieves all the annotations declared on this element. 
 | 
JavaAnnotation | 
getDeclaredAnnotation(JavaType annotationType)  | 
java.util.Collection<JavaAnnotation> | 
getDeclaredAnnotations()
Retrieves all the annotations declared on this element. 
 | 
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfojava.util.Collection<JavaAnnotation> getDeclaredAnnotations()
java.util.Collection<JavaAnnotation> getAnnotations()
JavaAnnotation getDeclaredAnnotation(JavaType annotationType)
JavaAnnotation getAnnotation(JavaType annotationType)