} else if (nSideEffects == 1) { Expression node= (Expression) sideEffectNodes.get(0); AST ast= statementNode.getAST(); rewrite.markAsReplaced(statementNode, ast.newExpressionStatement((Expression) rewrite.createCopy(node)));
	private void removeVariableWithInitializer(ASTRewrite rewrite, ASTNode initializerNode, ASTNode statementNode) {		ArrayList sideEffectNodes= new ArrayList();		initializerNode.accept(new SideEffectFinder(sideEffectNodes));		int nSideEffects= sideEffectNodes.size();		if (nSideEffects == 0) {			// remove the whole expression statement			rewrite.markAsRemoved(statementNode); 		} else if (nSideEffects == 1) {			Expression node= (Expression) sideEffectNodes.get(0);			AST ast= statementNode.getAST();			rewrite.markAsReplaced(statementNode, ast.newExpressionStatement((Expression) rewrite.createCopy(node)));		} else {			// do nothing yet		}	}		