public static @NotNull Icon getWarningIcon() {
    return Objects.requireNonNullElse(UIManager.getIcon("OptionPane.warningIcon"), AllIcons.General.WarningDialog);
  }
public static @NotNull Icon getWarningIcon()