int (@NotNull JComponent parent, @NotNull @DialogMessage String message, @NotNull @DialogTitle String title, @NotNull @NlsContexts.Button String yesText, @NotNull @NlsContexts.Button String noText) { return MessageDialogBuilder.yesNo(title, message) .yesText(yesText) .noText(noText) .ask(parent) ? YES : NO; }