public static @NotNull Icon getIcon(@NotNull Notification notification) {
    Icon icon = notification.getIcon();
    if (icon != null) {
      return icon;
    }

    return switch (notification.getType()) {
      case WARNING -> AllIcons.General.BalloonWarning;
      case ERROR -> AllIcons.General.BalloonError;
      case INFORMATION, IDE_UPDATE -> AllIcons.General.BalloonInformation;
    };
  }
public static @NotNull Icon getIcon(@NotNull Notification notification)