protected MavenProjectImportData getModuleImportData(MavenProject project,
                                                       String moduleName,
                                                       MavenProjectChanges changes) {
    MavenJavaVersionHolder setUpJavaVersions = getMavenJavaVersions(project);
    MavenJavaVersionHolder javaVersions = adjustJavaVersions(setUpJavaVersions);

    StandardMavenModuleType type = getModuleType(project, javaVersions);

    ModuleData moduleData = new ModuleData(moduleName, type, javaVersions);
    if (type != StandardMavenModuleType.COMPOUND_MODULE) {
      return new MavenProjectImportData(project, moduleData, changes, null);
    }
    String moduleMainName = moduleName + MAIN_SUFFIX;
    ModuleData mainData = new ModuleData(moduleMainName, StandardMavenModuleType.MAIN_ONLY, javaVersions);

    String moduleTestName = moduleName + TEST_SUFFIX;
    ModuleData testData = new ModuleData(moduleTestName, StandardMavenModuleType.TEST_ONLY, javaVersions);

    SplittedMainAndTestModules mainAndTestModules = new SplittedMainAndTestModules(mainData, testData);
    return new MavenProjectImportData(project, moduleData, changes, mainAndTestModules);
  }
protected MavenProjectImportData getModuleImportData(MavenProject project,
                                                       String moduleName,
                                                       MavenProjectChanges changes)