# Uses of Class
org.springframework.asm.TypeReference

Packages that use TypeReference
Package
Description
org.springframework.asm
Spring's repackaging of ASM 9.x (with Spring-specific patches; for internal use only).

## Uses of TypeReference in org.springframework.asm

Methods in org.springframework.asm that return TypeReference
Modifier and Type
Method
Description
`static TypeReference`
TypeReference.`newExceptionReference(int exceptionIndex)`
Returns a reference to the type of an exception, in a 'throws' clause of a method.
`static TypeReference`
TypeReference.`newFormalParameterReference(int paramIndex)`
Returns a reference to the type of a formal parameter of a method.
`static TypeReference`
TypeReference.`newSuperTypeReference(int itfIndex)`
Returns a reference to the super class or to an interface of the 'implements' clause of a class.
`static TypeReference`
TypeReference.`newTryCatchReference(int tryCatchBlockIndex)`
Returns a reference to the type of the exception declared in a 'catch' clause of a method.
`static TypeReference`
TypeReference.`newTypeArgumentReference(int sort, int argIndex)`
Returns a reference to the type of a type argument in a constructor or method call or reference.
`static TypeReference`
TypeReference.`newTypeParameterBoundReference(int sort, int paramIndex, int boundIndex)`
Returns a reference to a type parameter bound of a generic class or method.
`static TypeReference`
TypeReference.`newTypeParameterReference(int sort, int paramIndex)`
Returns a reference to a type parameter of a generic class or method.
`static TypeReference`
TypeReference.`newTypeReference(int sort)`
Returns a type reference of the given sort.