if (child instanceof TreeModelRecursiveAdaptor) {
TreeModelRecursiveAdaptor treeModelRecursiveAdaptor = (TreeModelRecursiveAdaptor) child;
nodes = treeModelRecursiveAdaptor.getRoots();
} else if (child instanceof TreeModelAdaptor) {
TreeModelAdaptor treeModelAdaptor = (TreeModelAdaptor) child;
nodes = treeModelAdaptor.getNodes();
}
Iterator<TreeDataModelTuple> tuplesIterator = createTuplesIterator(child, nodes);
if (tuplesIterator != null) {
list.add(tuplesIterator);