|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An evaluation engine that performs evaluations by deploying and executing class files locally.
Clients are not intended to implement this interface.
| Method Summary | |
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. |
| Methods inherited from interface org.eclipse.jdt.debug.eval.IEvaluationEngine |
dispose, evaluate, evaluate, getDebugTarget, getJavaProject |
| Method Detail |
public String[] getImports()
"java.util.Hashtable"
or "java.util.*".
public void setImports(String[] imports)
"java.util.Hashtable"
or "java.util.*".
imports - the list of import names
public void evaluate(String snippet,
IJavaThread thread,
IEvaluationListener listener,
boolean hitBreakpoints)
throws org.eclipse.debug.core.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.
org.eclipse.debug.core.DebugException - if this method fails. Reasons include:
|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||