|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationValue
Represents a value of an annotation type element.
Method Summary | |
---|---|
SourcePosition |
getPosition()
Returns the source position of the beginning of this annotation value. |
Object |
getValue()
Returns the value. |
String |
toString()
Returns a string representation of this value. |
Method Detail |
---|
Object getValue()
Integer
) for a primitive type
String
TypeMirror
EnumConstantDeclaration
AnnotationMirror
Collection<AnnotationValue>
(representing the elements, in order, if the value is an array)
SourcePosition getPosition()
This source position is intended for use in providing diagnostics, and indicates only approximately where an annotation value begins.
String toString()
toString
in class Object
|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |