final int width= CodeFormatterUtil.getTabWidth();
final int width= CodeFormatterUtil.getTabWidth(fMethod.getJavaProject());
	protected String createMethodDeclaration(final IDocument document, final MethodDeclaration declaration, final ASTRewrite rewrite) throws BadLocationException {		Assert.isNotNull(document);		Assert.isNotNull(declaration);		Assert.isNotNull(rewrite);		final IRegion range= new Region(declaration.getStartPosition(), declaration.getLength());		final RangeMarker marker= new RangeMarker(range.getOffset(), range.getLength());		final TextEdit[] edits= rewrite.rewriteAST(document, fMethod.getJavaProject().getOptions(true)).removeChildren();		for (int index= 0; index < edits.length; index++)			marker.addChild(edits[index]);		final MultiTextEdit result= new MultiTextEdit();		result.addChild(marker);		final TextEditProcessor processor= new TextEditProcessor(document, new MultiTextEdit(0, document.getLength()), TextEdit.UPDATE_REGIONS);		processor.getRoot().addChild(result);		processor.performEdits();		final int width= CodeFormatterUtil.getTabWidth();		final IRegion region= document.getLineInformation(document.getLineOfOffset(marker.getOffset()));		return Strings.changeIndent(document.get(marker.getOffset(), marker.getLength()), Strings.computeIndent(document.get(region.getOffset(), region.getLength()), width), width, "", StubUtility.getLineDelimiterFor(document)); //$NON-NLS-1$	}