Bug 23362 DOM: incorrect length for InfixExpression.
Latest Head 2002/09/10. package test1; public class E { public void foo() { i= (1 + 2) * 3; } } The infix expression for "1 + 2" has a length of 3. It should be 5.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/astrewrite/ASTRewritingExpressionsTest.java
creation.setAnonymousClassDeclaration(anonymDecl);
			rewrite.markAsInserted(anonymDecl);			
		}
		{  
			ExpressionStatement stmt= (ExpressionStatement) statements.get(1);
			ClassInstanceCreation creation= (ClassInstanceCreation) stmt.getExpression();
			assertTrue("Has expression", creation.getExpression() == null);
			
			SimpleName newExpression= ast.newSimpleName("x");
			creation.setExpression(newExpression);
			
			rewrite.markAsInserted(newExpression);
			
			List arguments= creation.arguments();
			assertTrue("Must have 1 argument", arguments.size() == 1);
			
			rewrite.markAsRemoved((ASTNode) arguments.get(0));
			
			rewrite.markAsRemoved(creation.getAnonymousClassDeclaration());
		}
		
		ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal("", cu, rewrite, 10, null);
		proposal.getCompilationUnitChange().setSave(true);
		
		proposal.apply(null);
		
		buf= new StringBuffer();
		buf.append("package test1;\n");
		buf.append("public class E {\n");
		buf.append("    public void foo() {\n");