Interface TypeAnnotation

All Superinterfaces:
AnnotationPREVIEW, ClassFileElementPREVIEW, WritableElementPREVIEW<AnnotationPREVIEW>

public sealed interface TypeAnnotation extends AnnotationPREVIEW
TypeAnnotation is a preview API of the Java platform.
Programs can only use TypeAnnotation when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models an annotation on a type use, as defined in 4.7.19 and 4.7.20.
Since:
22
See Also: