Module java.base

Interface ConstantValueEntry

All Superinterfaces:
ClassFileElementPREVIEW, LoadableConstantEntryPREVIEW, PoolEntryPREVIEW, WritableElementPREVIEW<PoolEntryPREVIEW>
All Known Subinterfaces:
DoubleEntryPREVIEW, FloatEntryPREVIEW, IntegerEntryPREVIEW, LongEntryPREVIEW, StringEntryPREVIEW

ConstantValueEntry is a preview API of the Java platform.
Programs can only use ConstantValueEntry when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a constant pool entry that can be used as the constant in a ConstantValue attribute; this includes the four primitive constant types and String constants.
Sealed Class Hierarchy Graph:
Sealed class hierarchy graph for ConstantValueEntrySealed class hierarchy graph for ConstantValueEntry
Since:
22