# Uses of Interface
java.lang.classfile.TypeAnnotation.EmptyTarget

Packages that use TypeAnnotation.EmptyTargetPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

- ## Uses of TypeAnnotation.EmptyTargetPREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW that return TypeAnnotation.EmptyTargetPREVIEW
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.EmptyTargetPREVIEW`
  TypeAnnotation.TargetInfo.`of(TypeAnnotation.TargetTypePREVIEW targetType)`
  Returns a target for annotations.
  `static TypeAnnotation.EmptyTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofField()`
  Returns a target for annotations on the type in a field or record declaration.
  `static TypeAnnotation.EmptyTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofMethodReceiver()`
  Returns a target for annotations on the receiver type of a method or constructor.
  `static TypeAnnotation.EmptyTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofMethodReturn()`
  Returns a target for annotations on the return type of a method or a newly constructed object.