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

# Uses of Interface
java.lang.classfile.attribute.ConstantValueAttribute

Packages that use ConstantValueAttributePREVIEW
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 ConstantValueAttributePREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW that return types with arguments of type ConstantValueAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static AttributeMapperPREVIEW<ConstantValueAttributePREVIEW>`
  Attributes.`constantValue()`
  Returns Attribute mapper for the `ConstantValue` attribute.

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

  Subinterfaces with type arguments of type ConstantValueAttributePREVIEW in java.lang.classfile.attributePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `ConstantValueAttributePREVIEW`
  Preview.
  Models the `ConstantValue` attribute 4.7.2, which can appear on fields and indicates that the field's value is a constant.
  Methods in java.lang.classfile.attributePREVIEW that return ConstantValueAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static ConstantValueAttributePREVIEW`
  ConstantValueAttribute.`of(ConstantValueEntryPREVIEW value)`
  Returns a `ConstantValue` attribute.
  `static ConstantValueAttributePREVIEW`
  ConstantValueAttribute.`of(ConstantDesc value)`
  Returns a `ConstantValue` attribute.