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

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

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

  Methods in java.lang.classfilePREVIEW that return TypeAnnotation.TypeParameterTargetPREVIEW
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.TypeParameterTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofClassTypeParameter(int typeParameterIndex)`
  Returns a target for annotations on a class type parameter declaration.
  `static TypeAnnotation.TypeParameterTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofMethodTypeParameter(int typeParameterIndex)`
  Returns a target for annotations on a method type parameter declaration.
  `static TypeAnnotation.TypeParameterTargetPREVIEW`
  TypeAnnotation.TargetInfo.`ofTypeParameter(TypeAnnotation.TargetTypePREVIEW targetType, int typeParameterIndex)`
  Returns a target for annotations on a class or method type parameter declaration.