DownloadableFileSetVersions<DownloadableFileSetDescription> (@Nullable String groupId, URL @NotNull ... localUrls) { return new FileSetVersionsFetcherBase<>(groupId, localUrls) { @Override protected DownloadableFileSetDescription createVersion(Artifact version, List<? extends DownloadableFileDescription> files) { return new DownloadableFileSetDescriptionImpl<>(version.getName(), version.getVersion(), files); } @Override protected DownloadableFileDescription createFileDescription(ArtifactItem item, String url, String prefix) { return DownloadableFileService.getInstance().createFileDescription(url, item.getName()); } }; }