Module java.base
Interface AnnotationConstantValueEntry
- All Superinterfaces:
ClassFileElementPREVIEW
,PoolEntryPREVIEW
,WritableElementPREVIEW<PoolEntryPREVIEW>
- All Known Subinterfaces:
DoubleEntryPREVIEW
,FloatEntryPREVIEW
,IntegerEntryPREVIEW
,LongEntryPREVIEW
,Utf8EntryPREVIEW
public sealed interface AnnotationConstantValueEntry
extends PoolEntryPREVIEW
permits DoubleEntryPREVIEW, FloatEntryPREVIEW, IntegerEntryPREVIEW, LongEntryPREVIEW, Utf8EntryPREVIEW
AnnotationConstantValueEntry
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A constant pool entry that may be used as an annotation constant,
which includes the four kinds of primitive constants, and UTF8 constants.
-
Method Summary
Methods declared in interface java.lang.classfile.constantpool.PoolEntryPREVIEW
constantPool, index, tag, width
Methods declared in interface java.lang.classfile.WritableElementPREVIEW
writeTo
-
Method Details
-
constantValue
-
AnnotationConstantValueEntry
when preview features are enabled.