|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Type
superinterface.
Field Summary | |
static int |
ARRAY
Constant for the array type. |
static int |
BOOLEAN
Constant for the boolean type. |
static int |
BYTE
Constant for the byte type. |
static int |
CHAR
Constant for the char type. |
static int |
CLASS
Constant for the class type. |
static int |
DOUBLE
Constant for the double type. |
static int |
FLOAT
Constant for the float type. |
static int |
INT
Constant for the int type. |
static int |
LONG
Constant for the long type. |
static int |
NULL
Constant for the null type. |
static int |
SHORT
Constant for the short type. |
static int |
VOID
Constant for the void type. |
Method Summary | |
boolean |
isArray()
Returns true if this is an array,
false otherwise. |
boolean |
isPrimitive()
Returns true if this is one of the primitive
types, false otherwise. |
int |
type()
Returns the integer type as one of the constants in the type interface. |
Methods inherited from interface org.inxar.jenesis.Codeable |
getComment, setComment, toCode, vm |
Field Detail |
public static final int VOID
void
type.public static final int NULL
null
type.public static final int BOOLEAN
boolean
type.public static final int BYTE
byte
type.public static final int SHORT
short
type.public static final int INT
int
type.public static final int LONG
long
type.public static final int FLOAT
float
type.public static final int DOUBLE
double
type.public static final int CHAR
char
type.public static final int CLASS
class
type.public static final int ARRAY
array
type.Method Detail |
public int type()
public boolean isPrimitive()
true
if this is one of the primitive
types, false
otherwise.public boolean isArray()
true
if this is an array,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |