int (@DialogMessage String message, @NotNull @DialogTitle String title, @Nls @NotNull @NlsContexts.Button String yesText, @Nls @NotNull @NlsContexts.Button String noText, @Nullable Icon icon, @Nullable DialogWrapper.DoNotAskOption doNotAskOption) { return MessageDialogBuilder.yesNo(title, message) .yesText(yesText) .noText(noText) .icon(icon) .doNotAsk(doNotAskOption) .guessWindowAndAsk() ? YES : NO; }