resultString.append(result.evaluateToString());
resultString.append(result.evaluateToString(thread));
	public void displayResult(IJavaValue result) {		StringBuffer resultString= new StringBuffer();		try {			String sig= result.getSignature();			if ("V".equals(sig)) { //$NON-NLS-1$				resultString.append(SnippetMessages.getString("SnippetEditor.noreturnvalue")); //$NON-NLS-1$			} else {				if (sig != null) {					resultString.append(SnippetMessages.getFormattedString("SnippetEditor.typename", result.getReferenceTypeName())); //$NON-NLS-1$				} else {					resultString.append(" "); //$NON-NLS-1$				}   				resultString.append(result.evaluateToString());			}		} catch(DebugException e) {			ErrorDialog.openError(getShell(), SnippetMessages.getString("SnippetEditor.error.toString"), null, e.getStatus()); //$NON-NLS-1$		}					try {			getSourceViewer().getDocument().replace(fSnippetEnd, 0, resultString.toString());		} catch (BadLocationException e) {		}				selectAndReveal(fSnippetEnd, resultString.length());	}