Module java.base

Interface AnnotationValue.OfClass

All Superinterfaces:
AnnotationValuePREVIEW, ClassFileElementPREVIEW, WritableElementPREVIEW<AnnotationValuePREVIEW>
Enclosing interface:
AnnotationValuePREVIEW

public static sealed interface AnnotationValue.OfClass extends AnnotationValuePREVIEW
OfClass is a preview API of the Java platform.
Programs can only use OfClass 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 class-valued element
Since:
22