private boolean isUnderExpandRoot(@NotNull TreePath path) {
      var parent = path.getParentPath();
      while (parent != null) {
        if (expandRoots.contains(parent)) {
          return true;
        }
        parent = parent.getParentPath();
      }
      return false;
    }
private boolean isUnderExpandRoot(@NotNull TreePath path)