ASTNode copy2= rewrite.createCopyPlaceholder(second);
ASTNode copy2= rewrite.createCopyTarget(second);
	public void testMethodDeclarationParamShuffel1() throws Exception {		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public abstract class E {\n");		buf.append("    public Object foo1(int i, boolean b) { return null; }\n");		buf.append("}\n");			ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);					CompilationUnit astRoot= createAST(cu);		NewASTRewrite rewrite= new NewASTRewrite(astRoot.getAST());		TypeDeclaration type= findTypeDeclaration(astRoot, "E");				{ 			MethodDeclaration methodDecl= findMethodDeclaration(type, "foo1");						List params= methodDecl.parameters();						SingleVariableDeclaration first= (SingleVariableDeclaration) params.get(0);			SingleVariableDeclaration second= (SingleVariableDeclaration) params.get(1);							ASTNode copy2= rewrite.createCopyPlaceholder(second);			rewrite.markAsReplaced(first, copy2);			rewrite.markAsRemoved(second);		}			String preview= evaluateRewrite(cu, rewrite);				buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public abstract class E {\n");		buf.append("    public Object foo1(boolean b) { return null; }\n");		buf.append("}\n");			assertEqualString(preview, buf.toString());	}