Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


javax.ide.model.java.declaration
Interface AnnotationD

All Superinterfaces:
Declaration

public interface AnnotationD
extends Declaration

Represents an annotation (not to be confused with an annotation type).


Nested Class Summary

 

Nested classes/interfaces inherited from interface javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind

 

Method Summary
 TypeD getAnnotationType()
          Gets the annotation type of this annotation.
 java.util.Map getElements()
          Gets the element-value pairs for this annotation.

 

Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic

 

Method Detail

getAnnotationType

TypeD getAnnotationType()
Gets the annotation type of this annotation.
Returns:
The type declaration for the annotation type of this annotation.

getElements

java.util.Map getElements()
Gets the element-value pairs for this annotation.
Returns:
The map of element-value pairs for this annotation. There will be an entry for each declared annotation member. A null value is not legal in the java language, however a null value may be returned here and such would indicate a compile error.

Map keys are String. Map values are Object.

See Also:
MethodD.getDefaultValue()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.