@Contract(pure = true)
  public static @NotNull String first(@NotNull String text, int maxLength, boolean appendEllipsis) {
    return text.length() > maxLength ? text.substring(0, maxLength) + (appendEllipsis ? "..." : "") : text;
  }
@Contract(pure = true)
  public static @NotNull String first(@NotNull String text, int maxLength, boolean appendEllipsis)