Class AnnotationValueImpl
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.main.AnnotationValueImpl
- All Implemented Interfaces:
AnnotationValue
Deprecated.
Represents a value of an annotation type element.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
Deprecated.private class
Deprecated. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationValueImpl
(DocEnv env, com.sun.tools.javac.code.Attribute attr) Deprecated. -
Method Summary
-
Field Details
-
env
Deprecated. -
attr
private final com.sun.tools.javac.code.Attribute attrDeprecated.
-
-
Constructor Details
-
AnnotationValueImpl
AnnotationValueImpl(DocEnv env, com.sun.tools.javac.code.Attribute attr) Deprecated.
-
-
Method Details
-
value
Deprecated.Returns the value. The type of the returned object is one of the following:- a wrapper class for a primitive type
-
String
-
Type
(representing a class literal) -
FieldDoc
(representing an enum constant) -
AnnotationDesc
-
AnnotationValue[]
- Specified by:
value
in interfaceAnnotationValue
- Returns:
- the value.
-
toString
Deprecated.Returns a string representation of the value.- Specified by:
toString
in interfaceAnnotationValue
- Overrides:
toString
in classObject
- Returns:
- the text of a Java language annotation value expression whose value is the value of this annotation type element.
-