|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.alibaba.fastjson.asm.Type
public class Type
A Java type. This class can be used to make it easier to manipulate type and method descriptors.
| 字段摘要 | |
|---|---|
static int |
ARRAY
The sort of array reference types. |
static int |
BOOLEAN
The sort of the boolean type. |
static Type |
BOOLEAN_TYPE
The boolean type. |
static int |
BYTE
The sort of the byte type. |
static Type |
BYTE_TYPE
The byte type. |
static int |
CHAR
The sort of the char type. |
static Type |
CHAR_TYPE
The char type. |
static int |
DOUBLE
The sort of the double type. |
static Type |
DOUBLE_TYPE
The double type. |
static int |
FLOAT
The sort of the float type. |
static Type |
FLOAT_TYPE
The float type. |
static int |
INT
The sort of the int type. |
static Type |
INT_TYPE
The int type. |
static int |
LONG
The sort of the long type. |
static Type |
LONG_TYPE
The long type. |
static int |
OBJECT
The sort of object reference type. |
static int |
SHORT
The sort of the short type. |
static Type |
SHORT_TYPE
The short type. |
static int |
VOID
The sort of the void type. |
static Type |
VOID_TYPE
The void type. |
| 方法摘要 | |
|---|---|
static int |
getArgumentsAndReturnSizes(String desc)
Computes the size of the arguments and of the return value of a method. |
String |
getInternalName()
Returns the internal name of the class corresponding to this object or array type. |
int |
getSort()
Returns the sort of this Java type. |
static Type |
getType(String typeDescriptor)
Returns the Java type corresponding to the given type descriptor. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int VOID
getSort.
public static final int BOOLEAN
getSort.
public static final int CHAR
getSort.
public static final int BYTE
getSort.
public static final int SHORT
getSort.
public static final int INT
getSort.
public static final int FLOAT
getSort.
public static final int LONG
getSort.
public static final int DOUBLE
getSort.
public static final int ARRAY
getSort.
public static final int OBJECT
getSort.
public static final Type VOID_TYPE
public static final Type BOOLEAN_TYPE
public static final Type CHAR_TYPE
public static final Type BYTE_TYPE
public static final Type SHORT_TYPE
public static final Type INT_TYPE
public static final Type FLOAT_TYPE
public static final Type LONG_TYPE
public static final Type DOUBLE_TYPE
| 方法详细信息 |
|---|
public static Type getType(String typeDescriptor)
typeDescriptor - a type descriptor.
public static int getArgumentsAndReturnSizes(String desc)
desc - the descriptor of a method.
public int getSort()
VOID, BOOLEAN, CHAR, BYTE, SHORT, INT, FLOAT, LONG, DOUBLE, ARRAY
or OBJECT.public String getInternalName()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||