# Uses of Interface
java.lang.classfile.constantpool.ConstantValueEntry

Packages that use ConstantValueEntryPREVIEW
Package
Description
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.
java.lang.classfile.constantpool
Provides interfaces describing classfile constant pool entries for the `java.lang.classfile`PREVIEW library.

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

  Methods in java.lang.classfile.attributePREVIEW that return ConstantValueEntryPREVIEW
  Modifier and Type
  Method
  Description
  `ConstantValueEntryPREVIEW`
  ConstantValueAttribute.`constant()`
  Returns the constant value of the field.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type ConstantValueEntryPREVIEW
  Modifier and Type
  Method
  Description
  `static ConstantValueAttributePREVIEW`
  ConstantValueAttribute.`of(ConstantValueEntryPREVIEW value)`
  Returns a `ConstantValue` attribute.

- ## Uses of ConstantValueEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW

  Subinterfaces of ConstantValueEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `DoubleEntryPREVIEW`
  Preview.
  Models a `CONSTANT_Double_info` constant in the constant pool of a classfile.
  `interface`
  `FloatEntryPREVIEW`
  Preview.
  Models a `CONSTANT_Float_info` constant in the constant pool of a classfile.
  `interface`
  `IntegerEntryPREVIEW`
  Preview.
  Models a `CONSTANT_Integer_info` constant in the constant pool of a classfile.
  `interface`
  `LongEntryPREVIEW`
  Preview.
  Models a `CONSTANT_Long_info` constant in the constant pool of a classfile.
  `interface`
  `StringEntryPREVIEW`
  Preview.
  Models a `CONSTANT_String_info` constant in the constant pool of a classfile.
  Methods in java.lang.classfile.constantpoolPREVIEW that return ConstantValueEntryPREVIEW
  Modifier and Type
  Method
  Description
  `default ConstantValueEntryPREVIEW`
  ConstantPoolBuilder.`constantValueEntry(ConstantDesc c)`
  Returns A `ConstantValueEntry`PREVIEW descripbing the provided Integer, Long, Float, Double, or String constant.