public static NotificationType convert(NotificationCategory notificationCategory) {
    return switch (notificationCategory) {
      case ERROR -> NotificationType.ERROR;
      case INFO, SIMPLE -> NotificationType.INFORMATION;
      case WARNING -> NotificationType.WARNING;
    };
  }
public static NotificationType convert(NotificationCategory notificationCategory)