for (int i = 0; i < problems.length; i++) { showProblem(problems[i]);
int count= problems.length; if (count == 0) { showException(result.getException()); return; } else { for (int i = 0; i < count; i++) { showProblem(problems[i]); } return;
	public void evaluationComplete(final IJavaEvaluationResult result) {		Runnable r = new Runnable() {			public void run() {				evaluationEnds();				if (result.hasProblems()) {					IMarker[] problems = result.getProblems();					for (int i = 0; i < problems.length; i++) {						showProblem(problems[i]);					}					return;				}				final IJavaValue value = result.getValue();				if (value != null) {					switch (fResultMode) {					case RESULT_DISPLAY:						Runnable r = new Runnable() {							public void run() {								displayResult(value);							}						};						getSite().getShell().getDisplay().asyncExec(r);						break;					case RESULT_INSPECT:						DebugUITools.inspect(result.getSnippet(), value);						break;					case RESULT_RUN:						// no action						break;					}				}			}		};		getVerticalRuler().getControl().getDisplay().asyncExec(r);	}