AnnotationDesc.ElementValuePair (Java SE 11 & JDK 11 ) (original) (raw)
- Enclosing interface:
AnnotationDesc
@Deprecated(since="9",
forRemoval=true)
public static interface AnnotationDesc.ElementValuePair
Deprecated, for removal: This API element is subject to removal in a future version.
Represents an association between an annotation type element and one of its values.
Since:
1.5
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type Method Description AnnotationTypeElementDoc element() Deprecated, for removal: This API element is subject to removal in a future version. Returns the annotation type element. AnnotationValue value() Deprecated, for removal: This API element is subject to removal in a future version. Returns the value associated with the annotation type element. Method Detail
* #### element [AnnotationTypeElementDoc](AnnotationTypeElementDoc.html "interface in com.sun.javadoc") element() Deprecated, for removal: This API element is subject to removal in a future version. Returns the annotation type element. Returns: the annotation type element. * #### value [AnnotationValue](AnnotationValue.html "interface in com.sun.javadoc") value() Deprecated, for removal: This API element is subject to removal in a future version. Returns the value associated with the annotation type element. Returns: the value associated with the annotation type element.
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.