Example usage for Java org.objectweb.asm Type fields, constructors, methods, implement or subclass
The text is from its open source code.
int | VOID The sort of the void type. |
int | BOOLEAN The sort of the boolean type. |
int | CHAR The sort of the char type. |
int | BYTE The sort of the byte type. |
int | SHORT The sort of the short type. |
int | INT The sort of the int type. |
int | FLOAT The sort of the float type. |
int | LONG The sort of the long type. |
int | DOUBLE The sort of the double type. |
int | ARRAY The sort of array reference types. |
int | OBJECT The sort of object reference types. |
int | METHOD The sort of method types. |
Type | VOID_TYPE The void type. |
Type | BOOLEAN_TYPE The boolean type. |
Type | CHAR_TYPE The char type. |
Type | BYTE_TYPE The byte type. |
Type | SHORT_TYPE The short type. |
Type | INT_TYPE The int type. |
Type | FLOAT_TYPE The float type. |
Type | LONG_TYPE The long type. |
Type | DOUBLE_TYPE The double type. |
boolean | equals(final Object object) Tests if the given object is equal to this type. |
int | getArgumentsAndReturnSizes(final String methodDescriptor) Computes the size of the arguments and of the return value of a method. |
int | getArgumentsAndReturnSizes() Returns the size of the arguments and of the return value of methods of this type. |
Type[] | getArgumentTypes(final String methodDescriptor) Returns the Type values corresponding to the argument types of the given method descriptor. |
Type[] | getArgumentTypes(final Method method) Returns the Type values corresponding to the argument types of the given method. |
Type[] | getArgumentTypes() Returns the argument types of methods of this type. |
String | getClassName() Returns the binary name of the class corresponding to this type. |
String | getConstructorDescriptor(final Constructor> constructor) Returns the descriptor corresponding to the given constructor. |
String | getDescriptor(final Class> clazz) Returns the descriptor corresponding to the given class. |
String | getDescriptor() Returns the descriptor corresponding to this type. |
int | getDimensions() Returns the number of dimensions of this array type. |
Type | getElementType() Returns the type of the elements of this array type. |
String | getInternalName() Returns the internal name of the class corresponding to this object or array type. |
String | getInternalName(final Class> clazz) Returns the internal name of the given class. |
String | getMethodDescriptor(final Type returnType, final Type... argumentTypes) Returns the descriptor corresponding to the given argument and return types. |
String | getMethodDescriptor(final Method method) Returns the descriptor corresponding to the given method. |
Type | getMethodType(final String methodDescriptor) Returns the Type corresponding to the given method descriptor. |
Type | getMethodType(final Type returnType, final Type... argumentTypes) Returns the method Type corresponding to the given argument and return types. |
Type | getObjectType(final String internalName) Returns the Type corresponding to the given internal name. |
int | getOpcode(final int opcode) Returns a JVM instruction opcode adapted to this Type . |
Type | getReturnType(final String methodDescriptor) Returns the Type corresponding to the return type of the given method descriptor. |
Type | getReturnType(final Method method) Returns the Type corresponding to the return type of the given method. |
Type | getReturnType() Returns the return type of methods of this type. |
int | getSize() Returns the size of values of this type. |
int | getSort() Returns the sort of this type. |
Type | getType(final String typeDescriptor) Returns the Type corresponding to the given type descriptor. |
Type | getType(final Class> clazz) Returns the Type corresponding to the given class. |
Type | getType(final Constructor> constructor) Returns the method Type corresponding to the given constructor. |
Type | getType(final Method method) Returns the method Type corresponding to the given method. |
int | hashCode() Returns a hash code value for this type. |
String | toString() Returns a string representation of this type. |