| Package | Description |
|---|---|
| org.objectweb.asm |
Provides a small and fast bytecode manipulation framework.
|
| Modifier and Type | Field | Description |
|---|---|---|
static Type |
Type.BOOLEAN_TYPE |
The boolean type.
|
static Type |
Type.BYTE_TYPE |
The byte type.
|
static Type |
Type.CHAR_TYPE |
The char type.
|
static Type |
Type.DOUBLE_TYPE |
The double type.
|
static Type |
Type.FLOAT_TYPE |
The float type.
|
static Type |
Type.INT_TYPE |
The int type.
|
static Type |
Type.LONG_TYPE |
The long type.
|
static Type |
Type.SHORT_TYPE |
The short type.
|
static Type |
Type.VOID_TYPE |
The void type.
|
| Modifier and Type | Method | Description |
|---|---|---|
Type[] |
Type.getArgumentTypes() |
Returns the argument types of methods of this type.
|
static Type[] |
Type.getArgumentTypes(java.lang.reflect.Method method) |
Returns the
Type values corresponding to the argument types of the given method. |
static Type[] |
Type.getArgumentTypes(java.lang.String methodDescriptor) |
Returns the
Type values corresponding to the argument types of the given method
descriptor. |
Type |
Type.getElementType() |
Returns the type of the elements of this array type.
|
static Type |
Type.getMethodType(java.lang.String methodDescriptor) |
Returns the
Type corresponding to the given method descriptor. |
static Type |
Type.getMethodType(Type returnType,
Type... argumentTypes) |
Returns the method
Type corresponding to the given argument and return types. |
static Type |
Type.getObjectType(java.lang.String internalName) |
Returns the
Type corresponding to the given internal name. |
Type |
Type.getReturnType() |
Returns the return type of methods of this type.
|
static Type |
Type.getReturnType(java.lang.reflect.Method method) |
Returns the
Type corresponding to the return type of the given method. |
static Type |
Type.getReturnType(java.lang.String methodDescriptor) |
Returns the
Type corresponding to the return type of the given method descriptor. |
static Type |
Type.getType(java.lang.Class<?> clazz) |
Returns the
Type corresponding to the given class. |
static Type |
Type.getType(java.lang.reflect.Constructor<?> constructor) |
Returns the method
Type corresponding to the given constructor. |
static Type |
Type.getType(java.lang.reflect.Method method) |
Returns the method
Type corresponding to the given method. |
static Type |
Type.getType(java.lang.String typeDescriptor) |
Returns the
Type corresponding to the given type descriptor. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
Type.getMethodDescriptor(Type returnType,
Type... argumentTypes) |
Returns the descriptor corresponding to the given argument and return types.
|
static Type |
Type.getMethodType(Type returnType,
Type... argumentTypes) |
Returns the method
Type corresponding to the given argument and return types. |