Doclet API

com.sun.javadoc
Interface AnnotationDesc.ElementValuePair

Enclosing interface:
AnnotationDesc

public static interface AnnotationDesc.ElementValuePair

Represents an association between an annotation type element and one of its values.

Since:
1.5

Method Summary
 AnnotationTypeElementDoc element()
          Returns the annotation type element.
 AnnotationValue value()
          Returns the value associated with the annotation type element.
 

Method Detail

element

AnnotationTypeElementDoc element()
Returns the annotation type element.

Returns:
the annotation type element.

value

AnnotationValue value()
Returns the value associated with the annotation type element.

Returns:
the value associated with the annotation type element.

Doclet API

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2010, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.