Uses of Interface java.lang.classfile.AnnotationValue (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.classfile, interface: AnnotationValue

# Uses of Interface
java.lang.classfile.AnnotationValue

Packages that use AnnotationValuePREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of AnnotationValuePREVIEW in java.lang.classfilePREVIEW

  Subinterfaces of AnnotationValuePREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `static interface`
  `AnnotationValue.OfAnnotationPREVIEW`
  Preview.
  Models an annotation-valued element
  `static interface`
  `AnnotationValue.OfArrayPREVIEW`
  Preview.
  Models an array-valued element
  `static interface`
  `AnnotationValue.OfBooleanPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfBytePREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfCharacterPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfClassPREVIEW`
  Preview.
  Models a class-valued element
  `static interface`
  `AnnotationValue.OfConstantPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfDoublePREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfEnumPREVIEW`
  Preview.
  Models an enum-valued element
  `static interface`
  `AnnotationValue.OfFloatPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfIntegerPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfLongPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfShortPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfStringPREVIEW`
  Preview.
  Models a constant-valued element
  Subinterfaces with type arguments of type AnnotationValuePREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `AnnotationValuePREVIEW`
  Preview.
  Models the value of a key-value pair of an annotation.
  Methods in java.lang.classfilePREVIEW that return AnnotationValuePREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationValuePREVIEW`
  AnnotationValue.`of(Object value)`
  Returns an annotation element.
  `AnnotationValuePREVIEW`
  AnnotationElement.`value()`
  Returns the element value.
  Methods in java.lang.classfilePREVIEW that return types with arguments of type AnnotationValuePREVIEW
  Modifier and Type
  Method
  Description
  `List<AnnotationValuePREVIEW>`
  AnnotationValue.OfArray.`values()`
  Returns the values.
  Methods in java.lang.classfilePREVIEW with parameters of type AnnotationValuePREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationElementPREVIEW`
  AnnotationElement.`of(Utf8EntryPREVIEW name, AnnotationValuePREVIEW value)`
  Returns an annotation key-value pair.
  `static AnnotationElementPREVIEW`
  AnnotationElement.`of(String name, AnnotationValuePREVIEW value)`
  Returns an annotation key-value pair.
  `static AnnotationElementPREVIEW`
  AnnotationElement.`ofArray(String name, AnnotationValuePREVIEW... values)`
  Returns an annotation key-value pair for an array-valued annotation.
  `static AnnotationValue.OfArrayPREVIEW`
  AnnotationValue.`ofArray(AnnotationValuePREVIEW... values)`
  Returns an annotation element for an array-valued element.
  Method parameters in java.lang.classfilePREVIEW with type arguments of type AnnotationValuePREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationValue.OfArrayPREVIEW`
  AnnotationValue.`ofArray(List<AnnotationValuePREVIEW> values)`
  Returns an annotation element for an array-valued element.

- ## Uses of AnnotationValuePREVIEW in java.lang.classfile.attributePREVIEW

  Methods in java.lang.classfile.attributePREVIEW that return AnnotationValuePREVIEW
  Modifier and Type
  Method
  Description
  `AnnotationValuePREVIEW`
  AnnotationDefaultAttribute.`defaultValue()`
  Returns the default value of the annotation type element represented by this method.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type AnnotationValuePREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationDefaultAttributePREVIEW`
  AnnotationDefaultAttribute.`of(AnnotationValuePREVIEW annotationDefault)`
  Returns an `AnnotationDefault` attribute.