MavenModuleImportContext (@NotNull Map<MavenProject, MavenProjectChanges> projectsWithChanges) { ModuleImportDataContext importDataContext = getModuleImportDataContext(projectsWithChanges); ModuleImportDataDependencyContext importDataDependencyContext = getFlattenModuleDataDependencyContext(importDataContext); return new MavenModuleImportContext( importDataDependencyContext.changedModuleDataWithDependencies, importDataDependencyContext.allModuleDataWithDependencies, importDataContext.moduleNameByProject, importDataContext.hasChanges ); }