private @NlsContexts.Label String getDownloadFilesMessage() {
    final LibraryDownloadSettings downloadSettings = mySettings.getDownloadSettings();
    if (downloadSettings == null) return "";

    final String downloadPath = downloadSettings.getDirectoryForDownloadedLibrariesPath();
    final String basePath = mySettings.getBaseDirectoryPath();
    String path;
    if (!StringUtil.isEmpty(basePath) && FileUtil.startsWith(downloadPath, basePath)) {
      path = FileUtil.getRelativePath(basePath, downloadPath, '/');
    }
    else {
      path = PathUtil.getFileName(downloadPath);
    }
    return JavaUiBundle.message("library.options.panel.update.state.download.files.message",
                                downloadSettings.getSelectedDownloads().size(),
                                path,
                                downloadSettings.getLibraryLevel(),
                                downloadSettings.getLibraryName());
  }
private @NlsContexts.Label String getDownloadFilesMessage()