Doclet API

com.sun.javadoc
Interface AnnotationValue


public interface AnnotationValue

Represents a value of an annotation type element.

Since:
1.5

Method Summary
 String toString()
          Returns a string representation of the value.
 Object value()
          Returns the value.
 

Method Detail

value

Object value()
Returns the value. The type of the returned object is one of the following:

Returns:
the value.

toString

String toString()
Returns a string representation of the value.

Overrides:
toString in class Object
Returns:
the text of a Java language annotation value expression whose value is the value of this element.

Doclet API

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2006 Sun Microsystems, Inc. 4150 Network Circle
Santa Clara, California, 95054, U.S.A. All Rights Reserved.