public class Frame extends Object implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected Constant[] |
constantPool
the constantPool of this frame
|
protected LocalVariable[] |
localVariables
the localVariables of this frame
|
protected OperandStack |
operandStack
the operandStack of this frame
|
| Constructor and Description |
|---|
Frame(Constant[] constantPool,
LocalVariable[] localVariables,
Operation[] operations,
OperandStack stack,
MethodDescriptor methodDescriptor)
constructs a new Frame
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Constant[] |
getConstantPool() |
LocalVariable[] |
getLocalVariables() |
MethodDescriptor |
getMethodDescriptor() |
OperandStack |
getOperandStack() |
Operation[] |
getOperations() |
int |
getReturnPosition() |
boolean |
isPaused() |
void |
setPaused(boolean paused) |
void |
setReturnPosition(int returnPosition) |
String |
toString() |
protected Constant[] constantPool
protected LocalVariable[] localVariables
protected OperandStack operandStack
public Frame(Constant[] constantPool, LocalVariable[] localVariables, Operation[] operations, OperandStack stack, MethodDescriptor methodDescriptor)
constantPool - the constantPoollocalVariables - the localVariablesoperations - the array of operations to executestack - the stackmethodDescriptor - the methodDescriptorpublic Constant[] getConstantPool()
public LocalVariable[] getLocalVariables()
public int getReturnPosition()
public Operation[] getOperations()
public void setReturnPosition(int returnPosition)
returnPosition - The returnPosition to set.public MethodDescriptor getMethodDescriptor()
public OperandStack getOperandStack()
public boolean isPaused()
public void setPaused(boolean paused)
paused - The paused to set.public Object clone()
clone in class ObjectObject.clone()public String toString()
toString in class ObjectObject.toString()Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.