Uses of Interface
java.lang.classfile.AnnotationValue
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
library.-
Uses of AnnotationValue in java.lang.classfile
Modifier and TypeInterfaceDescriptionstatic interface
Models an annotation value of an element-value pair.static interface
Models an array value of an element-value pair.static interface
Models a boolean value of an element-value pair.static interface
Models a byte value of an element-value pair.static interface
Models a char value of an element-value pair.static interface
Models a class value of an element-value pair.static interface
Models a constant value of an element-value pair.static interface
Models a double value of an element-value pair.static interface
Models an enum value of an element-value pair.static interface
Models a float value of an element-value pair.static interface
Models an int value of an element-value pair.static interface
Models a long value of an element-value pair.static interface
Models a short value of an element-value pair.static interface
Models a string value of an element-value pair.Modifier and TypeMethodDescriptionstatic AnnotationValue
Returns an annotation element.AnnotationElement.value()
Returns the element value.Modifier and TypeMethodDescriptionAnnotationValue.OfArray.values()
Returns the array elements of the array value.Modifier and TypeMethodDescriptionstatic AnnotationElement
AnnotationElement.of
(Utf8Entry name, AnnotationValue value) Returns an element-value pair.static AnnotationElement
AnnotationElement.of
(String name, AnnotationValue value) Returns an element-value pair.static AnnotationElement
AnnotationElement.ofArray
(String name, AnnotationValue... values) Returns an element-value pair for an array-valued element.static AnnotationValue.OfArray
AnnotationValue.ofArray
(AnnotationValue... values) Returns an array value for an element-value pair.Modifier and TypeMethodDescriptionstatic AnnotationValue.OfArray
AnnotationValue.ofArray
(List<AnnotationValue> values) Returns an array value for an element-value pair. -
Uses of AnnotationValue in java.lang.classfile.attribute
Modifier and TypeMethodDescriptionAnnotationDefaultAttribute.defaultValue()
Returns the default value of the annotation type element represented by this method.Modifier and TypeMethodDescriptionstatic AnnotationDefaultAttribute
AnnotationDefaultAttribute.of
(AnnotationValue annotationDefault) Returns anAnnotationDefault
attribute.