Module java.base

Interface TypeAnnotation.FormalParameterTarget

All Superinterfaces:
TypeAnnotation.TargetInfoPREVIEW
Enclosing interface:
TypeAnnotationPREVIEW

public static sealed interface TypeAnnotation.FormalParameterTarget extends TypeAnnotation.TargetInfoPREVIEW
FormalParameterTarget is a preview API of the Java platform.
Programs can only use FormalParameterTarget 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 the type in a formal parameter declaration of a method, constructor, or lambda expression.
Since:
22