public static @NotNull Pair<String, Boolean> showInputDialogWithCheckBox(@DialogMessage String message,
                                                                           @DialogTitle String title,
                                                                           @NlsContexts.Checkbox String checkboxText,
                                                                           boolean checked,
                                                                           boolean checkboxEnabled,
                                                                           @Nullable Icon icon,
                                                                           @Nullable @NonNls String initialValue,
                                                                           @Nullable InputValidator validator) {
    return MessagesService.getInstance()
      .showInputDialogWithCheckBox(message, title, checkboxText, checked, checkboxEnabled, icon, initialValue, validator);
  }
public static @NotNull Pair<String, Boolean> showInputDialogWithCheckBox(@DialogMessage String message,
                                                                           @DialogTitle String title,
                                                                           @NlsContexts.Checkbox String checkboxText,
                                                                           boolean checked,
                                                                           boolean checkboxEnabled,
                                                                           @Nullable Icon icon,
                                                                           @Nullable @NonNls String initialValue,
                                                                           @Nullable InputValidator validator)