Module java.base

Interface Utf8Entry

All Superinterfaces:
AnnotationConstantValueEntryPREVIEW, CharSequence, ClassFileElementPREVIEW, PoolEntryPREVIEW, WritableElementPREVIEW<PoolEntryPREVIEW>

public sealed interface Utf8Entry extends CharSequence, AnnotationConstantValueEntryPREVIEW
Utf8Entry is a preview API of the Java platform.
Programs can only use Utf8Entry 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_UTF8_info constant in the constant pool of a classfile.
See Java Virtual Machine Specification:
4.4.7 The CONSTANT_Utf8_info Structure
Since:
22