@NotNull
  List<VirtualFile> getTopLevelModuleRoots(Module module, ViewSettings settings) {
    return ContainerUtil.filter(ModuleRootManager.getInstance(module).getContentRoots(), root -> {
      if (!shouldBeShown(root, settings)) return false;
      VirtualFile parent = root.getParent();
      if (parent == null) return true;
      if (!module.equals(myFileIndex.getModuleForFile(parent, false))) return true;
      //show inner content root separately only if it won't be shown under outer content root
      return myFileIndex.isExcluded(parent) && !shouldShowExcludedFiles(settings);
    });
  }
@NotNull
  List<VirtualFile> getTopLevelModuleRoots(Module module, ViewSettings settings)