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

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

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

  Methods in java.lang.classfile that return TypeAnnotation.LocalVarTarget
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.LocalVarTarget`
  TypeAnnotation.TargetInfo.`ofLocalVariable(List<TypeAnnotation.LocalVarTargetInfo> table)`
  Returns a target for annotations on the type in a local variable declaration.
  `static TypeAnnotation.LocalVarTarget`
  TypeAnnotation.TargetInfo.`ofResourceVariable(List<TypeAnnotation.LocalVarTargetInfo> 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.LocalVarTarget`
  TypeAnnotation.TargetInfo.`ofVariable(TypeAnnotation.TargetType targetType, List<TypeAnnotation.LocalVarTargetInfo> 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.