Interface TypeAnnotation.EmptyTarget
- All Superinterfaces:
TypeAnnotation.TargetInfoPREVIEW
- Enclosing interface:
TypeAnnotationPREVIEW
EmptyTarget
is a preview API of the Java platform.
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
EmptyTarget
when preview features are enabled.