|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.matthiasmann.continuations.Stack
public final class Stack
Internal Class - DO NOT USE !
Needs to be public so that instrumented code can access it.
ANY CHANGE IN THIS CLASS NEEDS TO BE SYNCHRONIZED WITH InstrumentMethod
| Field Summary | |
|---|---|
static SuspendExecution |
exception_instance_not_for_user_code
sadly this need to be here |
| Method Summary | |
|---|---|
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(int numObjSlots)
Called at the end of a method - undoes the effects of nextMethodEntry() |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static SuspendExecution exception_instance_not_for_user_code
| Method Detail |
|---|
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(int numObjSlots)
numObjSlots - number of Object slots to clearpublic 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)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||