|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.squawk.ExecutionPoint
public final class ExecutionPoint
An ExecutionPoint instance encapsulates the details of a point of execution including the thread, a frame offset, the method to which the frame pertains and the bytecode index of an instruction in the method. Used for printing stack traces, setting breakpoints, etc.
Field Summary | |
---|---|
Offset |
bci
|
Offset |
frame
|
Object |
mp
|
Constructor Summary | |
---|---|
ExecutionPoint(Offset frame,
Offset bci,
Object mp)
|
Method Summary | |
---|---|
Klass |
getKlass()
Return the klass that defined the method refered to by this ExecutionPoint. |
Method |
getMethod()
Return the high-level Method object for the (low-level) method refered to by this ExecutionPoint. |
void |
print(PrintStream out)
Print a one-line description of this execution point to stream . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Offset frame
public final Offset bci
public final Object mp
Constructor Detail |
---|
public ExecutionPoint(Offset frame, Offset bci, Object mp)
Method Detail |
---|
public Klass getKlass()
public Method getMethod()
public void print(PrintStream out)
stream
.
Will attempt to print the method name, if available, otherwise will print the
method index and class name. Will also attempt to print the line number of the
execution pint if known,
out
- the stream to print to
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |