newInstance.initialize();
return newInstance;
}
public Expression for_renameAll_in_(final Node _aNode, final java.util.Set<String> _localNames, final Expression _replacementNode) {
final LiteralSendInliner _lsi;
Expression _res;
_lsi = LiteralSendInliner.factory.basicNew();
_lsi.initializeRoot_(_aNode);
_lsi.addUsedNode_(_replacementNode);
_res = _replacementNode;
for (final String _oldName : _localNames) {
final String _newName;
_newName = _lsi.newTempName_(_oldName);
_res = ((Expression) LocalDefinedVariableRenamer.factory.in_rename_to_(_res, _oldName, _newName));
}
return _res;
}