return trimIndent(cu.getBuffer().getText(start, length));
return Strings.trimIndentation(cu.getBuffer().getText(start, length), CodeFormatterUtil.getTabWidth(cu.getJavaProject()), false);
	private static String getSourceOfDeclararationNode(IJavaElement elem, ICompilationUnit cu, CompilationUnit cuNode) throws JavaModelException, CoreException {		Assert.isTrue(elem.getElementType() != IJavaElement.IMPORT_CONTAINER);		ASTNode[] nodes= ASTNodeSearchUtil.getDeclarationNodes(elem, cuNode);		if (nodes != null && nodes.length == 1) {			// begin fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=66880			ASTNode node = nodes[0];			int start= cuNode.getExtendedStartPosition(node);			if (start == -1)				start= node.getStartPosition();			int length= cuNode.getExtendedLength(node);			if (length == 0)				length= node.getLength();			return trimIndent(cu.getBuffer().getText(start, length));			// end fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=66880		} else 			return ""; //$NON-NLS-1$	}