Interface AnnotationValue.OfConstant

All Superinterfaces:
AnnotationValuePREVIEW, ClassFileElementPREVIEW, WritableElementPREVIEW<AnnotationValuePREVIEW>
All Known Subinterfaces:
AnnotationValue.OfBooleanPREVIEW, AnnotationValue.OfBytePREVIEW, AnnotationValue.OfCharacterPREVIEW, AnnotationValue.OfDoublePREVIEW, AnnotationValue.OfFloatPREVIEW, AnnotationValue.OfIntegerPREVIEW, AnnotationValue.OfLongPREVIEW, AnnotationValue.OfShortPREVIEW, AnnotationValue.OfStringPREVIEW
Enclosing interface:
AnnotationValuePREVIEW

OfConstant is a preview API of the Java platform.
Programs can only use OfConstant 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-valued element
Sealed Class Hierarchy Graph:
Sealed class hierarchy graph for OfConstantSealed class hierarchy graph for OfConstant
Since:
22