@NotNull
  private static String generateModulePath(MavenProject project,
                                           String moduleName,
                                           String dedicatedModuleDir) {
    String dir = StringUtil.isEmptyOrSpaces(dedicatedModuleDir)
                 ? project.getDirectory()
                 : dedicatedModuleDir;
    String fileName = moduleName + ModuleFileType.DOT_DEFAULT_EXTENSION;
    return new File(dir, fileName).getPath();
  }
@NotNull
  private static String generateModulePath(MavenProject project,
                                           String moduleName,
                                           String dedicatedModuleDir)