public class DefaultInterpreterStackTrace extends java.lang.Object implements InterpreterStackTrace
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROFILER_FACTORY_NAME
A class name of ProfilerFactory.
|
static java.lang.String |
PROPERTY_LSPS_PROFILE
Java property to activate LSPS profiler.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultInterpreterStackTrace(InterpreterStackTraceElement root)
A constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
static InterpreterStackTrace |
createInstance(InterpreterStackTraceElement root) |
void |
end() |
InterpreterStackTraceElement[] |
getItems()
Returns the stack trace elements ordered from the first (head) to the
last (tail).
|
java.lang.String[] |
getStackTraceInfo() |
InterpreterStackTraceElement |
pop() |
void |
push(InterpreterStackTraceElement e) |
ErrorException |
setCurrentException(ErrorException exception) |
Expression |
setCurrentExpression(Expression expression) |
java.lang.String |
setCurrentProperty(java.lang.String property) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, create, create, createpublic static final java.lang.String PROFILER_FACTORY_NAME
public static final java.lang.String PROPERTY_LSPS_PROFILE
protected DefaultInterpreterStackTrace(InterpreterStackTraceElement root)
root - public static InterpreterStackTrace createInstance(InterpreterStackTraceElement root)
public void push(InterpreterStackTraceElement e)
push in interface InterpreterStackTracepublic InterpreterStackTraceElement pop()
pop in interface InterpreterStackTracepublic java.lang.String[] getStackTraceInfo()
getStackTraceInfo in interface InterpreterStackTracepublic InterpreterStackTraceElement[] getItems()
Used by debugger.
getItems in interface InterpreterStackTracepublic java.lang.String toString()
toString in class java.lang.Objectpublic Expression setCurrentExpression(Expression expression)
setCurrentExpression in interface InterpreterStackTracepublic java.lang.String setCurrentProperty(java.lang.String property)
setCurrentProperty in interface InterpreterStackTracepublic ErrorException setCurrentException(ErrorException exception)
setCurrentException in interface InterpreterStackTracepublic void begin()
begin in interface InterpreterStackTracepublic void end()
end in interface InterpreterStackTraceCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.