int (@DialogMessage String message, @DialogTitle String title, String @NotNull @NlsContexts.Button [] options, @NlsContexts.Checkbox String checkboxText, final boolean checked, final int defaultOptionIndex, final int focusedOptionIndex, Icon icon, final @Nullable PairFunction<? super Integer, ? super JCheckBox, Integer> exitFunc) { return showCheckboxMessageDialog(message, title, options, checkboxText, checked, defaultOptionIndex, focusedOptionIndex, icon, (BiFunction<? super Integer, ? super JCheckBox, Integer>)exitFunc); }