List<JpsArtifact> (JpsModel model) { List<JpsArtifact> artifacts = new ArrayList<>(); for (JpsSyntheticArtifactProvider provider : JpsServiceManager.getInstance().getExtensions(JpsSyntheticArtifactProvider.class)) { artifacts.addAll(provider.createArtifacts(model)); } return artifacts; }