public interface LocalStackFrame
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_COMPILED |
static int |
MODE_INTERPRETED |
| Modifier and Type | Method and Description |
|---|---|
int |
getByteCodeIndex()
Get the index to the code array of the
Code attribute containing the execution point represented by this stack frame. |
java.lang.String |
getClassName()
Get the binary name of the declaring class of the method represented by this stack frame.
|
java.lang.Class<?> |
getDeclaringClass()
Get the declaring class of the method represented by this stack frame.
|
java.lang.String |
getFileName()
Get the name of the source file containing the execution point represented by this stack frame.
|
int |
getLineNumber()
Get the line number of the source line containing the execution point represented by this stack frame.
|
java.lang.Object[] |
getLocals()
Get the locals of the stack frame.
|
java.lang.String |
getMethodName()
Get the name of the method represented by this stack frame.
|
int |
getMode()
Get the mode of the stack frame.
|
java.lang.Object[] |
getMonitors()
Get the monitors of the stack frame.
|
java.lang.Object[] |
getStack()
Get the stack of the stack frame.
|
boolean |
isNativeMethod()
Get if the method containing the execution point represented by this stack frame is a native method.
|
java.lang.StackTraceElement |
toStackTraceElement()
Convert the stack frame to a
StackTraceElement object. |
static final int MODE_INTERPRETED
static final int MODE_COMPILED
java.lang.String getClassName()
java.lang.String getMethodName()
java.lang.Class<?> getDeclaringClass()
int getByteCodeIndex()
Code attribute containing the execution point represented by this stack frame.java.lang.String getFileName()
SourceFile attribute of the relevant class file as defined by The Java Virtual Machine Specification.int getLineNumber()
LineNumberTable attribute of the relevant class file as defined by The Java Virtual Machine Specification.boolean isNativeMethod()
true if the method is native, false otherwisejava.lang.StackTraceElement toStackTraceElement()
StackTraceElement object.@MagicConstant(intValues={1L,2L})
int getMode()
MODE_INTERPRETED or MODE_COMPILED (at the time of writing this).java.lang.Object[] getMonitors()
java.lang.Object[] getLocals()
PrimitiveValue object.java.lang.Object[] getStack()
PrimitiveValue object.