Modifier and Type | Field | Description |
---|---|---|
static BasicValue |
DOUBLE_VALUE |
A double value.
|
static BasicValue |
FLOAT_VALUE |
A float value.
|
static BasicValue |
INT_VALUE |
A byte, boolean, char, short, or int value.
|
static BasicValue |
LONG_VALUE |
A long value.
|
static BasicValue |
REFERENCE_VALUE |
An object or array reference value.
|
static BasicValue |
RETURNADDRESS_VALUE |
A return address value (produced by a jsr instruction).
|
static BasicValue |
UNINITIALIZED_VALUE |
An uninitialized value.
|
Constructor | Description |
---|---|
BasicValue(Type type) |
Constructs a new
BasicValue of the given type. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object value) |
|
int |
getSize() |
Returns the size of this value in 32 bits words.
|
Type |
getType() |
Returns the
Type of this value. |
int |
hashCode() |
|
boolean |
isReference() |
Returns whether this value corresponds to an object or array reference.
|
String |
toString() |
public static final BasicValue UNINITIALIZED_VALUE
public static final BasicValue INT_VALUE
public static final BasicValue FLOAT_VALUE
public static final BasicValue LONG_VALUE
public static final BasicValue DOUBLE_VALUE
public static final BasicValue REFERENCE_VALUE
public static final BasicValue RETURNADDRESS_VALUE
public BasicValue(Type type)
BasicValue
of the given type.type
- the value type.public int getSize()
Value
public boolean isReference()