public interface Frame
Object.| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArguments()
Retrieves the arguments object from this frame.
|
boolean |
getBoolean(FrameSlot slot)
Read access to a local variable of type boolean.
|
byte |
getByte(FrameSlot slot)
Read access to a local variable of type byte.
|
double |
getDouble(FrameSlot slot)
Read access to a local variable of type double.
|
float |
getFloat(FrameSlot slot)
Read access to a local variable of type float.
|
FrameDescriptor |
getFrameDescriptor() |
int |
getInt(FrameSlot slot)
Read access to a local variable of type int.
|
long |
getLong(FrameSlot slot)
Read access to a local variable of type long.
|
Object |
getObject(FrameSlot slot)
Read access to a local variable of type
Object. |
Object |
getValue(FrameSlot slot)
Read access to a local variable of any type.
|
boolean |
isBoolean(FrameSlot slot)
Check whether the given
FrameSlot is of type boolean. |
boolean |
isByte(FrameSlot slot)
Check whether the given
FrameSlot is of type byte. |
boolean |
isDouble(FrameSlot slot)
Check whether the given
FrameSlot is of type double. |
boolean |
isFloat(FrameSlot slot)
Check whether the given
FrameSlot is of type float. |
boolean |
isInt(FrameSlot slot)
Check whether the given
FrameSlot is of type int. |
boolean |
isLong(FrameSlot slot)
Check whether the given
FrameSlot is of type long. |
boolean |
isObject(FrameSlot slot)
Check whether the given
FrameSlot is of type object. |
MaterializedFrame |
materialize()
Materializes this frame, which allows it to be stored in a field or cast to
Object. |
void |
setBoolean(FrameSlot slot,
boolean value)
Write access to a local variable of type boolean.
|
void |
setByte(FrameSlot slot,
byte value) |
void |
setDouble(FrameSlot slot,
double value)
Write access to a local variable of type double.
|
void |
setFloat(FrameSlot slot,
float value)
Write access to a local variable of type float.
|
void |
setInt(FrameSlot slot,
int value)
Write access to a local variable of type int.
|
void |
setLong(FrameSlot slot,
long value)
Write access to a local variable of type long.
|
void |
setObject(FrameSlot slot,
Object value)
Write access to a local variable of type
Object. |
FrameDescriptor getFrameDescriptor()
Object[] getArguments()
Object getObject(FrameSlot slot) throws FrameSlotTypeException
Object.slot - the slot of the local variableFrameSlotTypeExceptionvoid setObject(FrameSlot slot, Object value)
Object.slot - the slot of the local variablevalue - the new value of the local variablebyte getByte(FrameSlot slot) throws FrameSlotTypeException
slot - the slot of the local variableFrameSlotTypeExceptionvoid setByte(FrameSlot slot, byte value)
boolean getBoolean(FrameSlot slot) throws FrameSlotTypeException
slot - the slot of the local variableFrameSlotTypeExceptionvoid setBoolean(FrameSlot slot, boolean value)
slot - the slot of the local variablevalue - the new value of the local variableint getInt(FrameSlot slot) throws FrameSlotTypeException
slot - the slot of the local variableFrameSlotTypeExceptionvoid setInt(FrameSlot slot, int value)
slot - the slot of the local variablevalue - the new value of the local variablelong getLong(FrameSlot slot) throws FrameSlotTypeException
slot - the slot of the local variableFrameSlotTypeExceptionvoid setLong(FrameSlot slot, long value)
slot - the slot of the local variablevalue - the new value of the local variablefloat getFloat(FrameSlot slot) throws FrameSlotTypeException
slot - the slot of the local variableFrameSlotTypeExceptionvoid setFloat(FrameSlot slot, float value)
slot - the slot of the local variablevalue - the new value of the local variabledouble getDouble(FrameSlot slot) throws FrameSlotTypeException
slot - the slot of the local variableFrameSlotTypeExceptionvoid setDouble(FrameSlot slot, double value)
slot - the slot of the local variablevalue - the new value of the local variableObject getValue(FrameSlot slot)
slot - the slot of the local variableMaterializedFrame materialize()
Object.boolean isObject(FrameSlot slot)
FrameSlot is of type object.boolean isByte(FrameSlot slot)
FrameSlot is of type byte.boolean isBoolean(FrameSlot slot)
FrameSlot is of type boolean.boolean isInt(FrameSlot slot)
FrameSlot is of type int.boolean isLong(FrameSlot slot)
FrameSlot is of type long.boolean isFloat(FrameSlot slot)
FrameSlot is of type float.