@Override
  public Object getParentElement(@NotNull final Object element) {
    if (element instanceof AbstractTreeNode<?> node) {
      return node.getParent();
    }
    return null;
  }
@Override
  public Object getParentElement(@NotNull final Object element)