Package aj.org.objectweb.asm
Class TypeReference
- java.lang.Object
-
- aj.org.objectweb.asm.TypeReference
-
public class TypeReference extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intCASTstatic intCLASS_EXTENDSstatic intCLASS_TYPE_PARAMETERstatic intCLASS_TYPE_PARAMETER_BOUNDstatic intCONSTRUCTOR_INVOCATION_TYPE_ARGUMENTstatic intCONSTRUCTOR_REFERENCEstatic intCONSTRUCTOR_REFERENCE_TYPE_ARGUMENTstatic intEXCEPTION_PARAMETERstatic intFIELDstatic intINSTANCEOFstatic intLOCAL_VARIABLEstatic intMETHOD_FORMAL_PARAMETERstatic intMETHOD_INVOCATION_TYPE_ARGUMENTstatic intMETHOD_RECEIVERstatic intMETHOD_REFERENCEstatic intMETHOD_REFERENCE_TYPE_ARGUMENTstatic intMETHOD_RETURNstatic intMETHOD_TYPE_PARAMETERstatic intMETHOD_TYPE_PARAMETER_BOUNDstatic intNEWstatic intRESOURCE_VARIABLEstatic intTHROWS
-
Constructor Summary
Constructors Constructor Description TypeReference(int typeRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExceptionIndex()intgetFormalParameterIndex()intgetSort()intgetSuperTypeIndex()intgetTryCatchBlockIndex()intgetTypeArgumentIndex()intgetTypeParameterBoundIndex()intgetTypeParameterIndex()intgetValue()static TypeReferencenewExceptionReference(int exceptionIndex)static TypeReferencenewFormalParameterReference(int paramIndex)static TypeReferencenewSuperTypeReference(int itfIndex)static TypeReferencenewTryCatchReference(int tryCatchBlockIndex)static TypeReferencenewTypeArgumentReference(int sort, int argIndex)static TypeReferencenewTypeParameterBoundReference(int sort, int paramIndex, int boundIndex)static TypeReferencenewTypeParameterReference(int sort, int paramIndex)static TypeReferencenewTypeReference(int sort)
-
-
-
Field Detail
-
CLASS_TYPE_PARAMETER
public static final int CLASS_TYPE_PARAMETER
- See Also:
- Constant Field Values
-
METHOD_TYPE_PARAMETER
public static final int METHOD_TYPE_PARAMETER
- See Also:
- Constant Field Values
-
CLASS_EXTENDS
public static final int CLASS_EXTENDS
- See Also:
- Constant Field Values
-
CLASS_TYPE_PARAMETER_BOUND
public static final int CLASS_TYPE_PARAMETER_BOUND
- See Also:
- Constant Field Values
-
METHOD_TYPE_PARAMETER_BOUND
public static final int METHOD_TYPE_PARAMETER_BOUND
- See Also:
- Constant Field Values
-
FIELD
public static final int FIELD
- See Also:
- Constant Field Values
-
METHOD_RETURN
public static final int METHOD_RETURN
- See Also:
- Constant Field Values
-
METHOD_RECEIVER
public static final int METHOD_RECEIVER
- See Also:
- Constant Field Values
-
METHOD_FORMAL_PARAMETER
public static final int METHOD_FORMAL_PARAMETER
- See Also:
- Constant Field Values
-
THROWS
public static final int THROWS
- See Also:
- Constant Field Values
-
LOCAL_VARIABLE
public static final int LOCAL_VARIABLE
- See Also:
- Constant Field Values
-
RESOURCE_VARIABLE
public static final int RESOURCE_VARIABLE
- See Also:
- Constant Field Values
-
EXCEPTION_PARAMETER
public static final int EXCEPTION_PARAMETER
- See Also:
- Constant Field Values
-
INSTANCEOF
public static final int INSTANCEOF
- See Also:
- Constant Field Values
-
NEW
public static final int NEW
- See Also:
- Constant Field Values
-
CONSTRUCTOR_REFERENCE
public static final int CONSTRUCTOR_REFERENCE
- See Also:
- Constant Field Values
-
METHOD_REFERENCE
public static final int METHOD_REFERENCE
- See Also:
- Constant Field Values
-
CAST
public static final int CAST
- See Also:
- Constant Field Values
-
CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
public static final int CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
- See Also:
- Constant Field Values
-
METHOD_INVOCATION_TYPE_ARGUMENT
public static final int METHOD_INVOCATION_TYPE_ARGUMENT
- See Also:
- Constant Field Values
-
CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
public static final int CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
- See Also:
- Constant Field Values
-
METHOD_REFERENCE_TYPE_ARGUMENT
public static final int METHOD_REFERENCE_TYPE_ARGUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
newTypeReference
public static TypeReference newTypeReference(int sort)
-
newTypeParameterReference
public static TypeReference newTypeParameterReference(int sort, int paramIndex)
-
newTypeParameterBoundReference
public static TypeReference newTypeParameterBoundReference(int sort, int paramIndex, int boundIndex)
-
newSuperTypeReference
public static TypeReference newSuperTypeReference(int itfIndex)
-
newFormalParameterReference
public static TypeReference newFormalParameterReference(int paramIndex)
-
newExceptionReference
public static TypeReference newExceptionReference(int exceptionIndex)
-
newTryCatchReference
public static TypeReference newTryCatchReference(int tryCatchBlockIndex)
-
newTypeArgumentReference
public static TypeReference newTypeArgumentReference(int sort, int argIndex)
-
getSort
public int getSort()
-
getTypeParameterIndex
public int getTypeParameterIndex()
-
getTypeParameterBoundIndex
public int getTypeParameterBoundIndex()
-
getSuperTypeIndex
public int getSuperTypeIndex()
-
getFormalParameterIndex
public int getFormalParameterIndex()
-
getExceptionIndex
public int getExceptionIndex()
-
getTryCatchBlockIndex
public int getTryCatchBlockIndex()
-
getTypeArgumentIndex
public int getTypeArgumentIndex()
-
getValue
public int getValue()
-
-