class ArtifactRepositoryService {

    public List<? extends ArtifactRepository> getRepositories() {
        return this.repositories.stream().filter(ArtifactRepository::isRepository).collect(Collectors.toList());
    }

    public  ArtifactRepositoryService();
    @Inject public  ArtifactRepositoryService(@Repository @Any Instance<ArtifactRepository> artifactRepositoryInstances);

}