|
Mirror API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationMirror
Represents an annotation. An annotation associates a value with each element of an annotation type.
Annotations should not be compared using reference-equality ("=="). There is no guarantee that any particular annotation will always be represented by the same object.
| Method Summary | |
|---|---|
AnnotationType |
getAnnotationType()
Returns the annotation type of this annotation. |
Map<AnnotationTypeElementDeclaration,AnnotationValue> |
getElementValues()
Returns this annotation's elements and their values. |
SourcePosition |
getPosition()
Returns the source position of the beginning of this annotation. |
| Method Detail |
|---|
AnnotationType getAnnotationType()
SourcePosition getPosition()
This source position is intended for use in providing diagnostics, and indicates only approximately where an annotation begins.
Map<AnnotationTypeElementDeclaration,AnnotationValue> getElementValues()
|
Mirror API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||