String typeName= new String(tb.sourceName()); String initializer= fCu.getSource().substring(fSelectionStart, fSelectionStart + fSelectionLength); String text= modifier + typeName + " " + fTempName + getAssignmentString() + initializer; if (initializer.endsWith(";")) return text + getLineDelimiter(); else return text + ";" + getLineDelimiter();
return (modifier + typeName + " " + fTempName + getAssignmentString() + getInitializerSource()) + ";" + getLineDelimiter();
	private String createTempDeclarationSource() throws CoreException {		TypeBinding tb= analyzeSelection().getExpressionTypeBinding();		String modifier= fDeclareFinal ? "final ": "";		String typeName= new String(tb.sourceName());		String initializer= fCu.getSource().substring(fSelectionStart, fSelectionStart + fSelectionLength);		String text= modifier + typeName + " " + fTempName + getAssignmentString() + initializer;		if (initializer.endsWith(";"))				return text + getLineDelimiter();		else				return text + ";" + getLineDelimiter();	}