Java org.objectweb.asm TypeReference fields, constructors, methods, implement or subclass

Example usage for Java org.objectweb.asm TypeReference fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.objectweb.asm TypeReference.

The text is from its open source code.

Field

intCLASS_TYPE_PARAMETER
The sort of type references that target a type parameter of a generic class.
intMETHOD_TYPE_PARAMETER
The sort of type references that target a type parameter of a generic method.
intCLASS_EXTENDS
The sort of type references that target the super class of a class or one of the interfaces it implements.
intCLASS_TYPE_PARAMETER_BOUND
The sort of type references that target a bound of a type parameter of a generic class.
intMETHOD_TYPE_PARAMETER_BOUND
The sort of type references that target a bound of a type parameter of a generic method.
intFIELD
The sort of type references that target the type of a field.
intMETHOD_RETURN
The sort of type references that target the return type of a method.
intMETHOD_RECEIVER
The sort of type references that target the receiver type of a method.
intMETHOD_FORMAL_PARAMETER
The sort of type references that target the type of a formal parameter of a method.
intTHROWS
The sort of type references that target the type of an exception declared in the throws clause of a method.
intLOCAL_VARIABLE
The sort of type references that target the type of a local variable in a method.
intEXCEPTION_PARAMETER
The sort of type references that target the type of the exception of a 'catch' clause in a method.
intNEW
The sort of type references that target the type of the object created by a 'new' instruction.
intCONSTRUCTOR_REFERENCE
The sort of type references that target the receiver type of a constructor reference.
intMETHOD_REFERENCE
The sort of type references that target the receiver type of a method reference.
intCAST
The sort of type references that target the type declared in an explicit or implicit cast instruction.
intCONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
The sort of type references that target a type parameter of a generic constructor in a constructor call.
intMETHOD_INVOCATION_TYPE_ARGUMENT
The sort of type references that target a type parameter of a generic method in a method call.
intCONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
The sort of type references that target a type parameter of a generic constructor in a constructor reference.
intMETHOD_REFERENCE_TYPE_ARGUMENT
The sort of type references that target a type parameter of a generic method in a method reference.

Constructor

TypeReference(final int typeRef)
Constructs a new TypeReference.

Method

intgetExceptionIndex()
Returns the index of the exception, in a 'throws' clause of a method, whose type is referenced by this type reference.
intgetFormalParameterIndex()
Returns the index of the formal parameter whose type is referenced by this type reference.
intgetSort()
Returns the sort of this type reference.
intgetSuperTypeIndex()
Returns the index of the "super type" of a class that is referenced by this type reference.
intgetTryCatchBlockIndex()
Returns the index of the try catch block (using the order in which they are visited with visitTryCatchBlock), whose 'catch' type is referenced by this type reference.
intgetTypeParameterBoundIndex()
Returns the index of the type parameter bound, within the type parameter #getTypeParameterIndex , referenced by this type reference.
intgetTypeParameterIndex()
Returns the index of the type parameter referenced by this type reference.
TypeReferencenewTypeReference(final int sort)
Returns a type reference of the given sort.