public static @NotNull List<String> convertToUrls(@NotNull List<JpsLibraryRoot> roots) {
    List<String> urls = new ArrayList<>();
    for (JpsLibraryRoot root : roots) {
      switch (root.getInclusionOptions()) {
        case ROOT_ITSELF:
          urls.add(root.getUrl());
          break;
        case ARCHIVES_UNDER_ROOT:
          collectArchives(JpsPathUtil.urlToFile(root.getUrl()), false, urls);
          break;
        case ARCHIVES_UNDER_ROOT_RECURSIVELY:
          collectArchives(JpsPathUtil.urlToFile(root.getUrl()), true, urls);
          break;
      }
    }
    return urls;
  }
public static @NotNull List<String> convertToUrls(@NotNull List<JpsLibraryRoot> roots)