Iterator<ASTEntry> entries = EasyASTIteratorVisitor.createClassIterator(m.getAst());
while (entries.hasNext()) {
ASTEntry entry = entries.next();
//we're checking for those that have model.name as a parent
ClassDef def = (ClassDef) entry.node;
List<String> parentNames = NodeUtils.getParentNames(def, true);
if (parentNames.contains(toFindOnRound.name)) {
HierarchyNodeModel newNode = new HierarchyNodeModel(module, def);
if (allFound.containsKey(newNode) == false) {
toFindOnRound.children.add(newNode);