| 程序包 | 说明 |
|---|---|
| org.objectweb.asm |
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Type[] |
Type.getArgumentTypes()
Returns the argument types of methods of this type.
|
static Type[] |
Type.getArgumentTypes(Method method)
Returns the
Type values corresponding to the argument types of the given method. |
static Type[] |
Type.getArgumentTypes(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(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(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(Method method)
Returns the
Type corresponding to the return type of the given method. |
static Type |
Type.getReturnType(String methodDescriptor)
Returns the
Type corresponding to the return type of the given method descriptor. |
static Type |
Type.getType(Class<?> clazz)
Returns the
Type corresponding to the given class. |
static Type |
Type.getType(Constructor<?> constructor)
Returns the method
Type corresponding to the given constructor. |
static Type |
Type.getType(Method method)
Returns the method
Type corresponding to the given method. |
static Type |
Type.getType(String typeDescriptor)
Returns the
Type corresponding to the given type descriptor. |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Type.getMethodDescriptor(Type returnType,
Type... argumentTypes)
Returns the descriptor corresponding to the given argument and return types.
|
static 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. |
static Type |
Type.getMethodType(Type returnType,
Type... argumentTypes)
Returns the method
Type corresponding to the given argument and return types. |
Copyright © 2022. All rights reserved.