public final class EvaluationContextImpl extends java.lang.Object implements EvaluationContext
Constructor and Description |
---|
EvaluationContextImpl(SuspendContextImpl suspendContext,
StackFrameProxyImpl frameProxy) |
EvaluationContextImpl(SuspendContextImpl suspendContext,
StackFrameProxyImpl frameProxy,
EvaluatingComputable<? extends com.sun.jdi.Value> thisObjectFactory) |
EvaluationContextImpl(SuspendContextImpl suspendContext,
StackFrameProxyImpl frameProxy,
com.sun.jdi.Value thisObject) |
Modifier and Type | Method and Description |
---|---|
<T extends com.sun.jdi.Value> |
computeAndKeep(ThrowableComputable<T,EvaluateException> computable) |
com.sun.jdi.Value |
computeThisObject() |
EvaluationContextImpl |
createEvaluationContext(com.sun.jdi.Value value) |
com.sun.jdi.ClassLoaderReference |
getClassLoader() |
DebugProcessImpl |
getDebugProcess() |
StackFrameProxyImpl |
getFrameProxy() |
DebuggerManagerThreadImpl |
getManagerThread() |
Project |
getProject() |
SuspendContextImpl |
getSuspendContext() |
com.sun.jdi.Value |
getThisObject()
Deprecated.
|
boolean |
isAutoLoadClasses() |
boolean |
isEvaluationPossible() |
void |
keep(com.sun.jdi.Value value) |
void |
setAutoLoadClasses(boolean autoLoadClasses) |
void |
setClassLoader(com.sun.jdi.ClassLoaderReference classLoader) |
EvaluationContextImpl |
withAutoLoadClasses(boolean autoLoadClasses) |
public EvaluationContextImpl(SuspendContextImpl suspendContext, StackFrameProxyImpl frameProxy, EvaluatingComputable<? extends com.sun.jdi.Value> thisObjectFactory)
public EvaluationContextImpl(SuspendContextImpl suspendContext, StackFrameProxyImpl frameProxy, com.sun.jdi.Value thisObject)
public EvaluationContextImpl(SuspendContextImpl suspendContext, StackFrameProxyImpl frameProxy)
@Deprecated public com.sun.jdi.Value getThisObject()
getThisObject
in interface EvaluationContext
public com.sun.jdi.Value computeThisObject() throws EvaluateException
computeThisObject
in interface EvaluationContext
EvaluateException
public SuspendContextImpl getSuspendContext()
getSuspendContext
in interface EvaluationContext
public StackFrameProxyImpl getFrameProxy()
getFrameProxy
in interface StackFrameContext
public DebugProcessImpl getDebugProcess()
getDebugProcess
in interface EvaluationContext
getDebugProcess
in interface StackFrameContext
public DebuggerManagerThreadImpl getManagerThread()
public Project getProject()
getProject
in interface EvaluationContext
public EvaluationContextImpl createEvaluationContext(com.sun.jdi.Value value)
createEvaluationContext
in interface EvaluationContext
public com.sun.jdi.ClassLoaderReference getClassLoader() throws EvaluateException
getClassLoader
in interface EvaluationContext
EvaluateException
public void setClassLoader(com.sun.jdi.ClassLoaderReference classLoader)
public boolean isAutoLoadClasses()
public void setAutoLoadClasses(boolean autoLoadClasses)
public EvaluationContextImpl withAutoLoadClasses(boolean autoLoadClasses)
public void keep(com.sun.jdi.Value value)
keep
in interface EvaluationContext
public <T extends com.sun.jdi.Value> T computeAndKeep(ThrowableComputable<T,EvaluateException> computable) throws EvaluateException
computeAndKeep
in interface EvaluationContext
EvaluateException
public boolean isEvaluationPossible()