public class StackFrame
extends java.lang.Object
Constructor | Description |
---|---|
StackFrame(ClassMethod method) |
Creates the initial stack frame
|
StackFrame(StackState stackState,
LocalVariableState localVariableState,
StackFrameType type) |
Modifier and Type | Method | Description |
---|---|---|
StackFrame |
aconstNull() |
pushes a null type onto the stack
|
StackFrame |
constructorCall(int initializedValueStackPosition) |
marks the value in potition initializedValueStackPosition as initialized.
|
StackFrame |
createFull() |
|
StackFrame |
dup() |
|
StackFrame |
dup2() |
|
StackFrame |
dup2X1() |
|
StackFrame |
dup2X2() |
|
StackFrame |
dupX1() |
|
StackFrame |
dupX2() |
|
LocalVariableState |
getLocalVariableState() |
|
StackState |
getStackState() |
|
StackFrameType |
getType() |
|
StackFrame |
mergeLocals(int pos,
StackEntry frame) |
|
StackFrame |
mergeStack(int pos,
StackEntry frame) |
|
StackFrame |
pop() |
pops an operand from the stack
|
StackFrame |
pop(int no) |
|
StackFrame |
pop2() |
pops 2 operands from the stack
|
StackFrame |
pop2push1(java.lang.String type) |
remote the top two operands and replace them with an different operand
|
StackFrame |
pop3() |
pops 3 operands from the stack
|
StackFrame |
pop4() |
pops 4 operands from the stack
|
StackFrame |
pop4push1(java.lang.String type) |
remote the top two operands and replace them with an different operand
|
StackFrame |
push(java.lang.String type) |
push an operand of the given type onto the stack
|
StackFrame |
push(StackEntry entry) |
push an operand of the given type onto the stack.
|
StackFrame |
replace(java.lang.String type) |
replace the operand at the top of the stack with the given operand
|
StackFrame |
store(int no) |
Store the variable on top of the stack into a local variable, poping the variable from the stack.
|
StackFrame |
swap() |
|
java.lang.String |
toString() |
public StackFrame(ClassMethod method)
public StackFrame(StackState stackState, LocalVariableState localVariableState, StackFrameType type)
public StackState getStackState()
public LocalVariableState getLocalVariableState()
public StackFrame push(java.lang.String type)
If the entry is wide then a corresponding TOP type will be created
public StackFrame push(StackEntry entry)
If the entry is wide then a corresponding TOP type will be created
public StackFrame aconstNull()
public StackFrame pop(int no)
public StackFrame pop()
public StackFrame pop2()
public StackFrame pop3()
public StackFrame pop4()
public StackFrame replace(java.lang.String type)
public StackFrame dup()
public StackFrame dupX1()
public StackFrame dupX2()
public StackFrame dup2()
public StackFrame dup2X1()
public StackFrame dup2X2()
public StackFrame store(int no)
public StackFrame pop2push1(java.lang.String type)
public StackFrame pop4push1(java.lang.String type)
public java.lang.String toString()
toString
in class java.lang.Object
public StackFrame constructorCall(int initializedValueStackPosition)
public StackFrame swap()
public StackFrame mergeStack(int pos, StackEntry frame)
public StackFrame mergeLocals(int pos, StackEntry frame)
public StackFrameType getType()
public StackFrame createFull()
Copyright © 2018. All rights reserved.