if (result.getSignature() == null) resultString= "(No explicit return value)"; else resultString= " ("+result.getReferenceTypeName()+") "+result.evaluateToString();
String sig= result.getSignature(); if ("V".equals(sig)) { resultString.append(' '); resultString.append(JavaPlugin.getResourceString(ERROR + "noreturn")); } else { if (sig != null) { resultString.append(" ("); resultString.append(result.getReferenceTypeName()); resultString.append(") "); } else { resultString.append(' '); } resultString.append(result.evaluateToString()); }
	public void displayResult(IJavaValue result) {		String resultString= null;		try {			if (result.getSignature() == null) 				resultString= "(No explicit return value)";			else 				resultString= " ("+result.getReferenceTypeName()+") "+result.evaluateToString();		} catch(DebugException e) {			ErrorDialog.openError(getShell(), "Problems evaluating toString of expression", null, e.getStatus());		}					try {			getSourceViewer().getDocument().replace(fSnippetEnd, 0, resultString);		} catch (BadLocationException e) {		}				selectAndReveal(fSnippetEnd, resultString.length());	}