}</BUG>
checkMonitorCanceled();
getGeneratorSessionContext().clearCopiedRootsSet();
for (SNode rootToCopy : myInputModel.getRootNodes()) {
if (rootsConsumed.contains(rootToCopy)) {
<BUG>if (myDeltaBuilder != null) {
myDeltaBuilder.enterInputRoot(rootToCopy);
myDeltaBuilder.deleteInputRoot(rootToCopy);
myDeltaBuilder.leaveInputRoot(rootToCopy);
}</BUG>
continue;

for (TemplateRootMappingRule rule : myRuleManager.getRoot_MappingRules()) {
checkMonitorCanceled();
applyRootRule(rule, rootsConsumed);
}
ttrace.pop();
checkMonitorCanceled();
getGeneratorSessionContext().clearCopiedRootsSet();
for (SNode rootToCopy : myInputModel.getRootNodes()) {
if (rootsConsumed.contains(rootToCopy)) {
continue;
