void (DependenciesBuilder builder) { final Map<PsiFile, Map<DependencyRule, Set<PsiFile>>> dependencies = builder.getIllegalDependencies(); for (Map.Entry<PsiFile, Map<DependencyRule, Set<PsiFile>>> entry : dependencies.entrySet()) { myIllegalDependencies.put(entry.getKey().getVirtualFile(), entry.getValue()); } }