public interface Type extends Codeable
Type
superinterface.Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
static final int VOID
void
type.static final int NULL
null
type.static final int BOOLEAN
boolean
type.static final int BYTE
byte
type.static final int SHORT
short
type.static final int INT
int
type.static final int LONG
long
type.static final int FLOAT
float
type.static final int DOUBLE
double
type.static final int CHAR
char
type.static final int CLASS
class
type.static final int ARRAY
array
type.Copyright © 2000–2018 jenesis4java. All rights reserved.