@Override
  public final Object getParentElement(@NotNull Object element) {
    if (element instanceof HierarchyNodeDescriptor) {
      return ((HierarchyNodeDescriptor)element).getParentDescriptor();
    }

    return null;
  }
@Override
  public final Object getParentElement(@NotNull Object element)