void (Module module, ArrayList<AbstractTreeNode<?>> result) { var grouper = ModuleGrouper.instanceFor(getProject()); var moduleGroupPath = grouper.getModuleAsGroupPath(module); if (moduleGroupPath != null) { var moduleGroup = new ModuleGroup(moduleGroupPath); var childModules = moduleGroup.modulesInGroup(getProject()); for (Module childModule : childModules) { result.add(new PackageViewModuleNode(getProject(), childModule, getSettings())); } } }