private List<String> computeResultingPaths() {
    if (myUseBundledRadioButton.isSelected()) {
      return myDefaultLibraryPaths;
    }

    final String dstDir = myCopyToDir.getText();
    if (dstDir.isEmpty()) {
      return Collections.emptyList();
    }

    List<String> result = new ArrayList<>();
    for (String path : myDefaultLibraryPaths) {
      final File srcFile = new File(path);
      if (!srcFile.exists()) {
        Messages.showErrorDialog(myProject, QuickFixBundle.message("add.library.error.not.found", srcFile.getPath()),
                                 CommonBundle.getErrorTitle());
        return Collections.emptyList();
      }
      File dstFile = new File(dstDir, srcFile.getName());
      try {
        FileUtil.copy(srcFile, dstFile);
      }
      catch (IOException e) {
        Messages.showErrorDialog(myProject,
                                 QuickFixBundle.message("add.library.error.cannot.copy", srcFile.getPath(), dstFile.getPath(), e.getMessage()),
                                 CommonBundle.getErrorTitle());
        return Collections.emptyList();
      }
      result.add(FileUtil.toSystemIndependentName(dstFile.getAbsolutePath()));
    }
    return result;
  }
private List<String> computeResultingPaths()