# 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

  Fields in java.lang.classfilePREVIEW with type parameters of type ConstantValueAttributePREVIEW
  Modifier and Type
  Field
  Description
  `static final AttributeMapperPREVIEW<ConstantValueAttributePREVIEW>`
  Attributes.`CONSTANT_VALUE`
  Attribute mapper for the `ConstantValue` attribute

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

  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.