void (ArrayList<? super AbstractTreeNode<?>> children, ProjectFileIndex projectFileIndex, VirtualFile virtualFile) { Module module = projectFileIndex.getModuleForFile(virtualFile); if (module != null) { ModuleToDoNode moduleToDoNode = new ModuleToDoNode(getProject(), module, myBuilder); if (!children.contains(moduleToDoNode)) { children.add(moduleToDoNode); } } }