Module java.base

Interface AnnotationElement

All Superinterfaces:
ClassFileElementPREVIEW, WritableElementPREVIEW<AnnotationElementPREVIEW>

public sealed interface AnnotationElement extends WritableElementPREVIEW<AnnotationElementPREVIEW>
AnnotationElement is a preview API of the Java platform.
Programs can only use AnnotationElement 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 key-value pair of an annotation.
Since:
22
See Also: