List<File> (@NotNull Collection<? extends File> artifactFiles) { List<File> artifactSources = new ArrayList<>(); for (File artifactFile : artifactFiles) { artifactSources.addAll(findSourcesByArtifact(artifactFile.getPath())); } return artifactSources; }