@Override
  @NotNull
  public Collection<AbstractTreeNode<?>> getChildren() {
    Module module = getValue().getModule();
    ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(module);
    List<AbstractTreeNode<?>> children = new ArrayList<>();
    OrderEntry[] orderEntries = moduleRootManager.getOrderEntries();
    for (final OrderEntry orderEntry : orderEntries) {
      if (orderEntry instanceof LibraryOrderEntry libraryOrderEntry) {
        final Library library = libraryOrderEntry.getLibrary();
        if (library == null) {
          continue;
        }
        final String libraryName = library.getName();
        if (libraryName == null || libraryName.length() == 0) {
          addLibraryChildren(libraryOrderEntry, children, getProject(), this);
        }
        else {
          children.add(new NamedLibraryElementNode(getProject(), new NamedLibraryElement(module, libraryOrderEntry), getSettings()));
        }
      }
      else if (orderEntry instanceof JdkOrderEntry jdkOrderEntry) {
        final Sdk jdk = jdkOrderEntry.getJdk();
        if (jdk != null) {
          children.add(new NamedLibraryElementNode(getProject(), new NamedLibraryElement(module, jdkOrderEntry), getSettings()));
        }
      }
    }
    return children;
  }
@Override
  @NotNull
  public Collection<AbstractTreeNode<?>> getChildren()