Uses of Interface
java.lang.classfile.AnnotationValue
Packages that use AnnotationValue
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file attributes for the java.lang.classfile library.-
Uses of AnnotationValue in java.lang.classfile
Subinterfaces of AnnotationValue in java.lang.classfileModifier and TypeInterfaceDescriptionstatic interfaceModels an annotation value of an element-value pair.static interfaceModels an array value of an element-value pair.static interfaceModels a boolean value of an element-value pair.static interfaceModels a byte value of an element-value pair.static interfaceModels a char value of an element-value pair.static interfaceModels a class value of an element-value pair.static interfaceModels a constant value of an element-value pair.static interfaceModels a double value of an element-value pair.static interfaceModels an enum value of an element-value pair.static interfaceModels a float value of an element-value pair.static interfaceModels an int value of an element-value pair.static interfaceModels a long value of an element-value pair.static interfaceModels a short value of an element-value pair.static interfaceModels a string value of an element-value pair.Methods in java.lang.classfile that return AnnotationValueModifier and TypeMethodDescriptionstatic AnnotationValueReturns an annotation element.AnnotationElement.value()Returns the element value.Methods in java.lang.classfile that return types with arguments of type AnnotationValueModifier and TypeMethodDescriptionAnnotationValue.OfArray.values()Returns the array elements of the array value.Methods in java.lang.classfile with parameters of type AnnotationValueModifier and TypeMethodDescriptionstatic AnnotationElementAnnotationElement.of(Utf8Entry name, AnnotationValue value) Returns an element-value pair.static AnnotationElementAnnotationElement.of(String name, AnnotationValue value) Returns an element-value pair.static AnnotationElementAnnotationElement.ofArray(String name, AnnotationValue... values) Returns an element-value pair for an array-valued element.static AnnotationValue.OfArrayAnnotationValue.ofArray(AnnotationValue... values) Returns an array value for an element-value pair.Method parameters in java.lang.classfile with type arguments of type AnnotationValueModifier and TypeMethodDescriptionstatic AnnotationValue.OfArrayAnnotationValue.ofArray(List<AnnotationValue> values) Returns an array value for an element-value pair. -
Uses of AnnotationValue in java.lang.classfile.attribute
Methods in java.lang.classfile.attribute that return AnnotationValueModifier and TypeMethodDescriptionAnnotationDefaultAttribute.defaultValue()Returns the default value of the annotation interface element defined by the enclosing method.Methods in java.lang.classfile.attribute with parameters of type AnnotationValueModifier and TypeMethodDescriptionstatic AnnotationDefaultAttributeAnnotationDefaultAttribute.of(AnnotationValue annotationDefault) Returns anAnnotationDefaultattribute.