Example usage for Java org.objectweb.asm TypeReference fields, constructors, methods, implement or subclass
The text is from its open source code.
int | CLASS_TYPE_PARAMETER The sort of type references that target a type parameter of a generic class. |
int | METHOD_TYPE_PARAMETER The sort of type references that target a type parameter of a generic method. |
int | CLASS_EXTENDS The sort of type references that target the super class of a class or one of the interfaces it implements. |
int | CLASS_TYPE_PARAMETER_BOUND The sort of type references that target a bound of a type parameter of a generic class. |
int | METHOD_TYPE_PARAMETER_BOUND The sort of type references that target a bound of a type parameter of a generic method. |
int | FIELD The sort of type references that target the type of a field. |
int | METHOD_RETURN The sort of type references that target the return type of a method. |
int | METHOD_RECEIVER The sort of type references that target the receiver type of a method. |
int | METHOD_FORMAL_PARAMETER The sort of type references that target the type of a formal parameter of a method. |
int | THROWS The sort of type references that target the type of an exception declared in the throws clause of a method. |
int | LOCAL_VARIABLE The sort of type references that target the type of a local variable in a method. |
int | EXCEPTION_PARAMETER The sort of type references that target the type of the exception of a 'catch' clause in a method. |
int | NEW The sort of type references that target the type of the object created by a 'new' instruction. |
int | CONSTRUCTOR_REFERENCE The sort of type references that target the receiver type of a constructor reference. |
int | METHOD_REFERENCE The sort of type references that target the receiver type of a method reference. |
int | CAST The sort of type references that target the type declared in an explicit or implicit cast instruction. |
int | CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT The sort of type references that target a type parameter of a generic constructor in a constructor call. |
int | METHOD_INVOCATION_TYPE_ARGUMENT The sort of type references that target a type parameter of a generic method in a method call. |
int | CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT The sort of type references that target a type parameter of a generic constructor in a constructor reference. |
int | METHOD_REFERENCE_TYPE_ARGUMENT The sort of type references that target a type parameter of a generic method in a method reference. |
TypeReference(final int typeRef) Constructs a new TypeReference. |
int | getExceptionIndex() Returns the index of the exception, in a 'throws' clause of a method, whose type is referenced by this type reference. |
int | getFormalParameterIndex() Returns the index of the formal parameter whose type is referenced by this type reference. |
int | getSort() Returns the sort of this type reference. |
int | getSuperTypeIndex() Returns the index of the "super type" of a class that is referenced by this type reference. |
int | getTryCatchBlockIndex() 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. |
int | getTypeParameterBoundIndex() Returns the index of the type parameter bound, within the type parameter #getTypeParameterIndex , referenced by this type reference. |
int | getTypeParameterIndex() Returns the index of the type parameter referenced by this type reference. |
TypeReference | newTypeReference(final int sort) Returns a type reference of the given sort. |