@Contract(pure = true)
  public static @NotNull String shortenPathWithEllipsis(@NotNull String path, int maxLength) {
    return shortenPathWithEllipsis(path, maxLength, false);
  }
@Contract(pure = true)
  public static @NotNull String shortenPathWithEllipsis(@NotNull String path, int maxLength)