void (@Nullable Component parent, @DialogMessage String message, @NotNull @DialogTitle String title) { if (parent != null) Messages.showWarningDialog(parent, message, title); else showWarningDialog(message, title); }