Interface AnnotationDesc.ElementValuePair

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.
The declarations in this package have been superseded by those in the package jdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.

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

Since:
1.5

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.

Methods

element

AnnotationTypeElementDoc 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 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.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.javadoc/com/sun/javadoc/AnnotationDesc.ElementValuePair.html