for (final VariableNode node : def.getArglist()) { if (node.getName().equals(unit.getValue().toString())) { node.setExpr((LexicalUnitImpl) DeepCopy.copy(unit .getNextLexicalUnit())); remainingNodes.remove(node); && i < remainingUnits.size(); i++) { LexicalUnitImpl unit = remainingUnits.get(i); remainingNodes.get(i).setExpr( (LexicalUnitImpl) DeepCopy.copy(unit));