String (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(); }