public class DefaultInterpreterStackTrace extends Object implements InterpreterStackTrace
Modifier and Type | Field and Description |
---|---|
static String |
PROFILER_FACTORY_NAME
A class name of ProfilerFactory.
|
static 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).
|
String[] |
getStackTraceInfo() |
InterpreterStackTraceElement |
pop() |
void |
push(InterpreterStackTraceElement e) |
ErrorException |
setCurrentException(ErrorException exception) |
Expression |
setCurrentExpression(Expression expression) |
String |
setCurrentProperty(String property) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, create, create, create
public static final String PROFILER_FACTORY_NAME
public static final String PROPERTY_LSPS_PROFILE
protected DefaultInterpreterStackTrace(InterpreterStackTraceElement root)
root
- public static InterpreterStackTrace createInstance(InterpreterStackTraceElement root)
public void push(InterpreterStackTraceElement e)
push
in interface InterpreterStackTrace
public InterpreterStackTraceElement pop()
pop
in interface InterpreterStackTrace
public String[] getStackTraceInfo()
getStackTraceInfo
in interface InterpreterStackTrace
public InterpreterStackTraceElement[] getItems()
Used by debugger.
getItems
in interface InterpreterStackTrace
public Expression setCurrentExpression(Expression expression)
setCurrentExpression
in interface InterpreterStackTrace
public String setCurrentProperty(String property)
setCurrentProperty
in interface InterpreterStackTrace
public ErrorException setCurrentException(ErrorException exception)
setCurrentException
in interface InterpreterStackTrace
public void begin()
begin
in interface InterpreterStackTrace
public void end()
end
in interface InterpreterStackTrace
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.