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

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

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

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

  Methods in java.lang.classfilePREVIEW that return TypeAnnotation.LocalVarTargetPREVIEW
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.LocalVarTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofLocalVariable(List<TypeAnnotation.LocalVarTargetInfoPREVIEW> table)`
  Returns a target for annotations on the type in a local variable declaration.
  `static TypeAnnotation.LocalVarTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofResourceVariable(List<TypeAnnotation.LocalVarTargetInfoPREVIEW> table)`
  Returns a target for annotations on the type in a local variable declared as a resource in a try-with-resources statement.
  `static TypeAnnotation.LocalVarTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofVariable(TypeAnnotation.TargetTypePREVIEW targetType, List<TypeAnnotation.LocalVarTargetInfoPREVIEW> table)`
  Returns a target for annotations on the type in a local variable declaration, including a variable declared as a resource in a try-with-resources statement.