Module java.base

Interface TypeAnnotation.OffsetTarget

All Superinterfaces:
Enclosing interface:

public static sealed interface TypeAnnotation.OffsetTarget extends TypeAnnotation.TargetInfoPREVIEW
OffsetTarget is a preview API of the Java platform.
Programs can only use OffsetTarget 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 an instanceof expression or a new expression, or the type before the :: in a method reference expression.