public void setComparator(Comparator<? super NodeDescriptor<?>> comparator) {
    runActionWithPathsRestore(() -> myStructureModel.setComparator(comparator));
  }
public void setComparator(Comparator<? super NodeDescriptor<?>> comparator)