@Override
  public void collapsePaths(@NotNull Element element, boolean recursively) {
    collapsePaths(element, recursively, getReplacePathMap());
  }
@Override
  public void collapsePaths(@NotNull Element element, boolean recursively)