public static @NotNull MessageType getMessageType(@NotNull Notification notification) {
    return switch (notification.getType()) {
      case WARNING -> MessageType.WARNING;
      case ERROR -> MessageType.ERROR;
      case INFORMATION, IDE_UPDATE -> MessageType.INFO;
    };
  }
public static @NotNull MessageType getMessageType(@NotNull Notification notification)