public interface JavaAnnotation extends JavaElement, JavaHasType
| Modifier and Type | Field and Description | 
|---|---|
static JavaAnnotation[] | 
EMPTY_ARRAY  | 
| Modifier and Type | Method and Description | 
|---|---|
JavaType | 
getAnnotationType()
Equivalent to getResolvedType(). 
 | 
java.util.Map | 
getArguments()
Get the arguments used to instantiate the annotation 
 | 
java.util.Map | 
getComponents()
Here, "component" is not equivalent to "argument". 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
getUnresolvedArguments()
Get the arguments used to instantiate the annotation, but don't try
 to resolve any types. 
 | 
boolean | 
isInherited()  | 
getResolvedType, getUnresolvedTypegetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfostatic final JavaAnnotation[] EMPTY_ARRAY
boolean isInherited()
java.util.Map getArguments()
java.util.Map<java.lang.String,java.lang.Object> getUnresolvedArguments()
getArguments(), but any JavaTypes are now
 returned as JavaHasTypes, and enum values are returned as JavaHasName.java.util.Map getComponents()
   @Retention( RetentionPolicy.RUNTIME )
   @interface Annotate
   {
     public int b() default 1;
   }
   @Annotate()
   class C
   {
   }
 
 Here, @Annotate() has zero arguments. Similarly, C.class will
 show that @Annotate() has zero arguments.getArguments().JavaType getAnnotationType()