public class Frame
extends java.lang.Object
| Constructor and Description |
|---|
Frame(int nLocals,
int nStack) |
Frame(java.lang.String classDesc,
MethodNode method) |
| Modifier and Type | Method and Description |
|---|---|
Frame |
dup() |
static Value[] |
dupArray(Value[] a) |
boolean |
equals(java.lang.Object other) |
Value |
getLocal(int local) |
Value |
getLocal(int local,
int opcode) |
int |
getMaxLocals() |
Value |
getStack(int pos) |
int |
getStackLen() |
int |
hashCode() |
Frame |
merge(Detector det,
Frame inframe,
boolean localsOnly,
Usage usage)
Merge the local variables and stack from the incoming frame
into the current frame.
|
Value |
pop() |
void |
popn(int n) |
Value |
popWord() |
Value |
push(Value v) |
int |
setLocal(int local,
Value v) |
java.lang.String |
toString() |
public Frame(int nLocals,
int nStack)
public Frame(java.lang.String classDesc,
MethodNode method)
public Frame merge(Detector det, Frame inframe, boolean localsOnly, Usage usage)
inframe - -- incoming framelocalsOnly - -- true for exception handlers, because the
stack is cleared.usage - -- Only those locals are merged that are deemed
live (@see Usage#isLiveIn(int))public Frame dup()
public int setLocal(int local,
Value v)
public Value getLocal(int local, int opcode)
public Value getLocal(int local)
public Value getStack(int pos)
public Value pop()
public Value popWord()
public void popn(int n)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getMaxLocals()
public int getStackLen()