Package gw.gosudoc.com.sun.javadoc
Interface AnnotationValue
-
- All Known Implementing Classes:
AnnotationValueImpl
@Deprecated public interface AnnotationValueDeprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.Represents a value of an annotation type element.- Since:
- 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringtoString()Deprecated.Returns a string representation of the value.java.lang.Objectvalue()Deprecated.Returns the value.
-
-
-
Method Detail
-
value
java.lang.Object 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[]
- Returns:
- the value.
-
toString
java.lang.String toString()
Deprecated.Returns a string representation of the value.- Overrides:
toStringin classjava.lang.Object- Returns:
- the text of a Java language annotation value expression whose value is the value of this element.
-
-