public interface IClassFileEvaluationEngine extends IEvaluationEngine
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(String snippet,
IJavaThread thread,
IEvaluationListener listener,
boolean hitBreakpoints)
Asynchronously evaluates the given snippet in the specified target
thread, reporting the result back to the given listener.
|
String[] |
getImports()
Returns the import declarations for this evaluation context.
|
void |
setImports(String[] imports)
Sets the import declarations for this evaluation context.
|
dispose, evaluate, evaluate, getDebugTarget, getJavaProjectString[] getImports()
"java.util.Hashtable" or "java.util.*".void setImports(String[] imports)
"java.util.Hashtable" or "java.util.*".imports - the list of import namesvoid evaluate(String snippet, IJavaThread thread, IEvaluationListener listener, boolean hitBreakpoints) throws DebugException
snippet - code snippet to evaluatethread - the thread in which to run the evaluation, which must be
suspendedlistener - the listener that will receive notification when/if the
evalaution completeshitBreakpoints - whether or not breakpoints should be honored in the evaluation
thread during the evaluation. If false,
breakpoints hit in the evaluation thread will be ignored.DebugException - if this method fails. Reasons include:
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.