|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object js.tinyvm.TinyVMType
public class TinyVMType
This class encapsulates all functionality regarding tiny vm types.
Field Summary | |
---|---|
static TinyVMType |
T_ARRAY
|
static byte |
T_ARRAY_TYPE
|
static TinyVMType |
T_BOOLEAN
|
static byte |
T_BOOLEAN_TYPE
|
static TinyVMType |
T_BYTE
|
static byte |
T_BYTE_TYPE
|
static TinyVMType |
T_CHAR
|
static byte |
T_CHAR_TYPE
|
static TinyVMType |
T_CLASS
|
static byte |
T_CLASS_TYPE
|
static TinyVMType |
T_DOUBLE
|
static byte |
T_DOUBLE_TYPE
|
static TinyVMType |
T_FLOAT
|
static byte |
T_FLOAT_TYPE
|
static TinyVMType |
T_INT
|
static byte |
T_INT_TYPE
|
static TinyVMType |
T_LONG
|
static byte |
T_LONG_TYPE
|
static TinyVMType |
T_OBJECT
|
static byte |
T_OBJECT_TYPE
|
static TinyVMType |
T_REFERENCE
|
static byte |
T_REFERENCE_TYPE
|
static TinyVMType |
T_SHORT
|
static byte |
T_SHORT_TYPE
|
static byte |
T_STACKFRAME_TYPE
|
static TinyVMType |
T_VOID
|
static byte |
T_VOID_TYPE
|
Method Summary | |
---|---|
java.lang.String |
cname()
|
static boolean |
isValid(byte type)
Is the given byte a valid tiny vm type? |
java.lang.String |
signature()
|
int |
size()
Get type size in bytes. |
static TinyVMType |
tinyVMType(byte type)
Get tiny vm type from bcel type. |
static TinyVMType |
tinyVMType(org.apache.bcel.generic.Type type)
Get tiny vm type from bcel type. |
static TinyVMType |
tinyVMTypeFromSignature(java.lang.String signature)
Get tiny vm type from bcel signature. |
byte |
type()
Get tiny vm type as byte. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte T_REFERENCE_TYPE
public static final byte T_STACKFRAME_TYPE
public static final byte T_CLASS_TYPE
public static final byte T_BOOLEAN_TYPE
public static final byte T_CHAR_TYPE
public static final byte T_FLOAT_TYPE
public static final byte T_DOUBLE_TYPE
public static final byte T_BYTE_TYPE
public static final byte T_SHORT_TYPE
public static final byte T_INT_TYPE
public static final byte T_LONG_TYPE
public static final byte T_VOID_TYPE
public static final byte T_ARRAY_TYPE
public static final byte T_OBJECT_TYPE
public static final TinyVMType T_REFERENCE
public static final TinyVMType T_BOOLEAN
public static final TinyVMType T_CHAR
public static final TinyVMType T_FLOAT
public static final TinyVMType T_DOUBLE
public static final TinyVMType T_BYTE
public static final TinyVMType T_SHORT
public static final TinyVMType T_INT
public static final TinyVMType T_LONG
public static final TinyVMType T_VOID
public static final TinyVMType T_ARRAY
public static final TinyVMType T_OBJECT
public static final TinyVMType T_CLASS
Method Detail |
---|
public byte type()
public int size()
public java.lang.String cname()
public java.lang.String signature()
public static boolean isValid(byte type)
type
- tiny vm typepublic static TinyVMType tinyVMTypeFromSignature(java.lang.String signature)
signature
- bcel signature
public static TinyVMType tinyVMType(org.apache.bcel.generic.Type type)
type
- bcel type
public static TinyVMType tinyVMType(byte type)
type
- bcel type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |