CompilationUnit astRoot= AST.parseCompilationUnit(cu, false);
CompilationUnit astRoot= AST.parseCompilationUnit(cu, false, null, null);
	public void testMethodComments2() throws Exception {			IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class DD {\n");		buf.append("    // one line comment\n");		buf.append("    private void foo(){\n");		buf.append("    }\n");		buf.append("\n");		buf.append("    /*\n");		buf.append("     *\n");		buf.append("     */\n");		buf.append("    private void foo1(){\n");		buf.append("    }\n");		buf.append("\n");		buf.append("    private void foo2(){\n");		buf.append("    }\n");			buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("DD.java", buf.toString(), false, null);		CompilationUnit astRoot= AST.parseCompilationUnit(cu, false);		NewASTRewrite rewrite= new NewASTRewrite(astRoot.getAST());		TypeDeclaration type= findTypeDeclaration(astRoot, "DD");		{			MethodDeclaration methodDecl= findMethodDeclaration(type, "foo2");			ASTNode node= rewrite.createCopyPlaceholder(methodDecl);			ASTNode firstDecl= (ASTNode) type.bodyDeclarations().get(0);			rewrite.getListRewrite(type, ASTNodeConstants.BODY_DECLARATIONS).insertAfter(node, firstDecl, null);		}		String preview= evaluateRewrite(cu, rewrite);		buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class DD {\n");		buf.append("    // one line comment\n");		buf.append("    private void foo(){\n");		buf.append("    }\n");		buf.append("\n");		buf.append("    private void foo2(){\n");		buf.append("    }\n");		buf.append("\n");						buf.append("    /*\n");		buf.append("     *\n");		buf.append("     */\n");		buf.append("    private void foo1(){\n");		buf.append("    }\n");		buf.append("\n");		buf.append("    private void foo2(){\n");		buf.append("    }\n");			buf.append("}\n");		assertEqualString(preview, buf.toString());	}