ASTNode placeholder= rewrite.createCopyPlaceholder(body);
ASTNode placeholder= rewrite.createCopyTarget(body);
	public void testMoveForStatementToForBlockCD() throws Exception {		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    public void foo() {\n");		buf.append("        for(int i= 0; i < 8; i++)\n");		buf.append("            foo();\n");		buf.append("    }\n");		buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);				CompilationUnit astRoot= createAST(cu);		NewASTRewrite rewrite= new NewASTRewrite(astRoot.getAST());		AST ast= astRoot.getAST();		assertTrue("Code has errors", (astRoot.getFlags() & ASTNode.MALFORMED) == 0);				TypeDeclaration type= findTypeDeclaration(astRoot, "E");		MethodDeclaration methodDecl= findMethodDeclaration(type, "foo");		{			List statements= methodDecl.getBody().statements();			ForStatement forStatement= (ForStatement) statements.get(0);			Statement body= forStatement.getBody();						ASTNode placeholder= rewrite.createCopyPlaceholder(body);						Block newBody= ast.newBlock();			newBody.statements().add(placeholder);						rewrite.markAsReplaced(body, newBody);		}								String preview= evaluateRewrite(cu, rewrite);				buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    public void foo() {\n");		buf.append("        for(int i= 0; i < 8; i++) {\n");		buf.append("            foo();\n");		buf.append("        }\n");				buf.append("    }\n");		buf.append("}\n");		assertEqualString(preview, buf.toString());	}