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<java.lang.String,java.lang.Object> | getArguments()Get the arguments used to instantiate the annotation. | 
| java.util.Map<java.lang.String,java.lang.Object> | getComponents()Here, "component" is not equivalent to "argument". | 
| SourceAnnotation | getSourceElement() | 
| 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, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfostatic final JavaAnnotation[] EMPTY_ARRAY
boolean isInherited()
java.util.Map<java.lang.String,java.lang.Object> 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<java.lang.String,java.lang.Object> 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()
SourceAnnotation getSourceElement()
getSourceElement in interface JavaElement