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

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

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

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