Module java.base
Package java.lang.classfilePREVIEW

# Interface TypeAnnotation.EmptyTarget

All Superinterfaces:
  `TypeAnnotation.TargetInfoPREVIEW`

Enclosing interface:
  `TypeAnnotationPREVIEW`

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.

Since:
  22

- ## Method Summary

  ### Methods declared in interface java.lang.classfile.TypeAnnotation.TargetInfoPREVIEW

  `size, targetType`