@Override
  public @NotNull Collection<AbstractTreeNode<?>> getChildren() {
    ArrayList<VirtualFile> roots = new ArrayList<>();
    LibrariesElement value = getValue();
    Module myModule = value == null ? null : value.getModule();
    if (myModule == null) {
      Module[] modules = ModuleManager.getInstance(getProject()).getModules();
      for (Module module : modules) {
        addModuleLibraryRoots(ModuleRootManager.getInstance(module), roots);
      }
    }
    else {
      addModuleLibraryRoots(ModuleRootManager.getInstance(myModule), roots);
    }
    var nodeBuilder = new PackageNodeBuilder(null, true);
    return nodeBuilder.createPackageViewChildrenOnFiles(roots, getProject(), getSettings());
  }
@Override
  public @NotNull Collection<AbstractTreeNode<?>> getChildren()