AnnotationValue
.@Deprecated public interface AnnotationValue
Modifier and Type | Method and Description |
---|---|
SourcePosition |
getPosition()
Deprecated.
Returns the source position of the beginning of this annotation value.
|
Object |
getValue()
Deprecated.
Returns the value.
|
String |
toString()
Deprecated.
Returns a string representation of this value.
|
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.
Copyright © 2004, 2012, Oracle and/or its affiliates. All rights reserved.