private static @NlsContexts.DialogTitle String getChooserTitle(final FileSaverDescriptor descriptor) {
    final String title = descriptor.getTitle();
    return title != null ? title : UIBundle.message("file.chooser.save.dialog.default.title");
  }
private static @NlsContexts.DialogTitle String getChooserTitle(final FileSaverDescriptor descriptor)