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

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

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

  Methods in java.lang.classfilePREVIEW that return TypeAnnotation.TypeArgumentTargetPREVIEW
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.TypeArgumentTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofCastExpr(LabelPREVIEW target, int typeArgumentIndex)`
  Returns a target for annotations on the i'th type in a cast expression.
  `static TypeAnnotation.TypeArgumentTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofConstructorInvocationTypeArgument(LabelPREVIEW 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.TypeArgumentTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofConstructorReferenceTypeArgument(LabelPREVIEW 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.TypeArgumentTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofMethodInvocationTypeArgument(LabelPREVIEW 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.TypeArgumentTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofMethodReferenceTypeArgument(LabelPREVIEW 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.TypeArgumentTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofTypeArgument(TypeAnnotation.TargetTypePREVIEW targetType, LabelPREVIEW 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.