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

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

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

  Methods in java.lang.classfile that return TypeAnnotation.TypeArgumentTarget
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.TypeArgumentTarget`
  TypeAnnotation.TargetInfo.`ofCastExpr(Label target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type in a cast expression.
  `static TypeAnnotation.TypeArgumentTarget`
  TypeAnnotation.TargetInfo.`ofConstructorInvocationTypeArgument(Label target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type argument in the explicit type argument list for an explicit constructor invocation statement.
  `static TypeAnnotation.TypeArgumentTarget`
  TypeAnnotation.TargetInfo.`ofConstructorReferenceTypeArgument(Label target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type argument in the explicit type argument list for a new expression.
  `static TypeAnnotation.TypeArgumentTarget`
  TypeAnnotation.TargetInfo.`ofMethodInvocationTypeArgument(Label target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type argument in the explicit type argument list for a method invocation expression.
  `static TypeAnnotation.TypeArgumentTarget`
  TypeAnnotation.TargetInfo.`ofMethodReferenceTypeArgument(Label target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type argument in the explicit type argument list for a method reference expression.
  `static TypeAnnotation.TypeArgumentTarget`
  TypeAnnotation.TargetInfo.`ofTypeArgument(TypeAnnotation.TargetType targetType, Label target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type in a cast expression, or on the i'th type argument in the explicit type argument list for any of the following: a new expression, an explicit constructor invocation statement, a method invocation expression, or a method reference expression.