public final class Stack
extends java.lang.Object
implements java.io.Serializable
InstrumentMethod
Modifier and Type | Field and Description |
---|---|
static SuspendExecution |
exception_instance_not_for_user_code
sadly this need to be here
|
Modifier and Type | Method and Description |
---|---|
double |
getDouble(int idx) |
float |
getFloat(int idx) |
int |
getInt(int idx) |
long |
getLong(int idx) |
java.lang.Object |
getObject(int idx) |
static Stack |
getStack() |
int |
nextMethodEntry()
called at the begin of a method
|
void |
popMethod()
Called at the end of a method.
|
static void |
push(double value,
Stack s,
int idx) |
static void |
push(float value,
Stack s,
int idx) |
static void |
push(int value,
Stack s,
int idx) |
static void |
push(long value,
Stack s,
int idx) |
static void |
push(java.lang.Object value,
Stack s,
int idx) |
void |
pushMethodAndReserveSpace(int entry,
int numSlots)
Called before a method is called.
|
public static SuspendExecution exception_instance_not_for_user_code
public static Stack getStack()
public final void pushMethodAndReserveSpace(int entry, int numSlots)
entry
- the entry point in the method for resumenumSlots
- the number of required stack slots for storing the statepublic final void popMethod()
public final int nextMethodEntry()
public static void push(int value, Stack s, int idx)
public static void push(float value, Stack s, int idx)
public static void push(long value, Stack s, int idx)
public static void push(double value, Stack s, int idx)
public static void push(java.lang.Object value, Stack s, int idx)
public final int getInt(int idx)
public final float getFloat(int idx)
public final long getLong(int idx)
public final double getDouble(int idx)
public final java.lang.Object getObject(int idx)