void (MultiMap<DependencyConflictId, MavenDomDependency> duplicates, @NotNull MavenDomDependencies dependencies) { for (MavenDomDependency dependency : dependencies.getDependencies()) { DependencyConflictId mavenId = DependencyConflictId.create(dependency); if (mavenId == null) continue; duplicates.putValue(mavenId, dependency); } }