return formatter.formatSourceString(content);
String string= formatter.formatSourceString(content); System.arraycopy(formatter.getMappedPositions(), 0, positions, 0, positions.length); return string;
	public String format(String content, boolean isLineStart, String indentation, int[] positions) {		CodeFormatter formatter= new CodeFormatter(JavaCore.getOptions());				IDocument doc= fViewer.getDocument();		String lineDelimiter= StubUtility.getLineDelimiterFor(doc);		formatter.options.setLineSeparator(lineDelimiter);		formatter.setPositionsToMap(positions);		int indent= 0;		if (fInitialIndentation != null) {			indent= TextUtilities.getIndent(fInitialIndentation, CodeFormatterPreferencePage.getTabSize());		}		formatter.setInitialIndentationLevel(indent);		return formatter.formatSourceString(content);	}	