Uses of Interface java.lang.classfile.TypeAnnotation.EmptyTarget (Java SE 26 & JDK 26)
Description: use: module: java.base, package: java.lang.classfile, interface: TypeAnnotation, interface: EmptyTarget

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

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

- ## Uses of TypeAnnotation.EmptyTarget in java.lang.classfile

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