@Override
  @NotNull
  public Collection<AbstractTreeNode<?>> getChildren() {
    final Module module = getValue();
    if (module == null || module.isDisposed()) {
      // just deleted a module from project view
      return Collections.emptyList();

    }
    List<AbstractTreeNode<?>> children = new ArrayList<>(2);
    children.add(new LibraryGroupNode(getProject(), new LibraryGroupElement(module), getSettings()) {
      @Override
      public boolean isAlwaysExpand() {
        return true;
      }
    });

    children.add(new ModuleListNode(getProject(), module, getSettings()));
    return children;
  }
@Override
  @NotNull
  public Collection<AbstractTreeNode<?>> getChildren()