AnnotationMirror
.@Deprecated public interface AnnotationMirror
Annotations should not be compared using reference-equality ("=="). There is no guarantee that any particular annotation will always be represented by the same object.
Modifier and Type | Method and Description |
---|---|
AnnotationType |
getAnnotationType()
Deprecated.
Returns the annotation type of this annotation.
|
Map<AnnotationTypeElementDeclaration,AnnotationValue> |
getElementValues()
Deprecated.
Returns this annotation's elements and their values.
|
SourcePosition |
getPosition()
Deprecated.
Returns the source position of the beginning of this annotation.
|
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()
Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.