Module java.base

Interface TypeAnnotation.EmptyTarget

All Superinterfaces:
Enclosing interface:

public static sealed interface TypeAnnotation.EmptyTarget extends TypeAnnotation.TargetInfoPREVIEW
EmptyTarget is a preview API of the Java platform.
Programs can only use EmptyTarget when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Indicates that an annotation appears on either the type in a field declaration, the return type of a method, the type of a newly constructed object, or the receiver type of a method or constructor.