FileDocCategorySizeDatePackage
AnnotationValue.javaAPI DocJava SE 5 API1085Fri Aug 26 14:54:54 BST 2005com.sun.javadoc

AnnotationValue

public interface AnnotationValue
Represents a value of an annotation type element.
author
Scott Seligman
version
1.3 04/04/08
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringtoString()
Returns a string representation of the value.

return
the text of a Java language annotation value expression whose value is the value of this element.

public java.lang.Objectvalue()
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[]

return
the value.