private IRTSLinker getPriorityRoot(IRTSLinker left, IRTSLinker right) { IRTSLinker l = left; while (l != null && l.isPriority(right)) { IRTSLinker l1 = l.getSuper(); if (l1 == null) { break; } else { l = l1; } } return(l); }
private IRTSLinker getDeepRoot(IRTSLinker linker) { IRTSLinker l = linker; while (l != null) { IRTSLinker l1 = l.getSuper(); if (l1 == null) { break; } else { l = l1; } } return(l); }