public class Type extends Object
Modifier and Type | Field and Description |
---|---|
static Type |
BOOLEAN_TYPE
The boolean type.
|
static Type |
BYTE_TYPE
The byte type.
|
static Type |
CHAR_TYPE
The char type.
|
static Type |
DOUBLE_TYPE
The double type.
|
static Type |
FLOAT_TYPE
The float type.
|
static Type |
INT_TYPE
The int type.
|
static Type |
LONG_TYPE
The long type.
|
static Type |
SHORT_TYPE
The short type.
|
static Type |
VOID_TYPE
The void type.
|
Modifier and Type | Method and Description |
---|---|
static int |
getArgumentsAndReturnSizes(String desc) |
String |
getInternalName() |
static Type |
getType(String typeDescriptor)
Returns the Java type corresponding to the given type descriptor.
|
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)
public String getInternalName()
Copyright © 2012–2022 Alibaba Group. All rights reserved.