This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.lang.model.element
interface AnnotationValue


public interface AnnotationValue

Represents a value of an annotation type element. A value is of one of the following types:


Method Summary
 Object

          Applies a visitor to this value.
 Object

          Returns the value.
 String

          Returns a string representation of this value.
 

Method Detail

accept

public Object accept(AnnotationValueVisitor v,
                     Object p)
Applies a visitor to this value.

Parameters:
v - the visitor operating on this value
p - additional parameter to the visitor
Returns:
a visitor-specified result

getValue

public Object getValue()
Returns the value.

Returns:
the value

toString

public String toString()
Returns a string representation of this value. This is returned in a form suitable for representing this value in the source code of an annotation.

Overrides:
toString in class Object
Returns:
a string representation of this value


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.