String (String templateName, String className) { final String extension = StringUtil.getShortName(templateName); if (StringUtil.isNotEmpty(extension)) { className = StringUtil.trimEnd(className, "." + extension); } return className; }