Method Summary |
|
public void | clearStack() Clears the operand stack of this frame. |
public void | execute(AbstractInsnNode insn, Interpreter interpreter) |
public Value | getLocal(int i) Returns the value of the given local variable.
Parameters: i - a local variable index. |
public int | getLocals() Returns the maximum number of local variables of this frame. |
public Value | getStack(int i) Returns the value of the given operand stack slot.
Parameters: i - the index of an operand stack slot. |
public int | getStackSize() Returns the number of values in the operand stack of this frame. |
public Frame | init(Frame src) Copies the state of the given frame into this frame.
Parameters: src - a frame. |
public boolean | merge(Frame frame, Interpreter interpreter) Merges this frame with the given frame.
Parameters: frame - a frame. Parameters: interpreter - the interpreter used to merge values. |
public boolean | merge(Frame frame, boolean[] access) Merges this frame with the given frame (case of a RET instruction).
Parameters: frame - a frame Parameters: access - the local variables that have been accessed by thesubroutine to which the RET instruction corresponds. |
public Value | pop() Pops a value from the operand stack of this frame. |
public void | push(Value value) Pushes a value into the operand stack of this frame. |
public void | setLocal(int i, Value value) Sets the value of the given local variable. |
public String | toString() Returns a string representation of this frame. |