@ApiStatus.Internal
  @NotNull
  public static String getMessageTitle(@NotNull String message) {
    message = stripHtml(message, true);
    int sepIndex = message.indexOf(". ");
    int eolIndex = message.indexOf("\n");
    if (sepIndex < 0 || sepIndex > eolIndex && eolIndex > 0) {
      sepIndex = eolIndex;
    }
    if (sepIndex > 0) {
      message = message.substring(0, sepIndex);
    }
    return StringUtil.trimEnd(message.trim(), '.');
  }
@ApiStatus.Internal
  @NotNull
  public static String getMessageTitle(@NotNull String message)