类模板
^.*(public|protected|private)*.+class\s+\w+Controller.*
/**\n
* 类释义——控制层\n
* @author qub\n
* @since ${.now?string["yyyy-MM-dd HH:mm:ss"]}
*/
^.*(public|protected|private)*.+class\s+\w+Service.*
/**\n
* 类释义——业务层\n
* @author qub\n
* @since ${.now?string["yyyy-MM-dd HH:mm:ss"]}
*/
^.*(public|protected|private)*.+interface\s+\w+Repo.*
/**\n
* 类释义——持久层\n
* @author qub\n
* @since ${.now?string["yyyy-MM-dd HH:mm:ss"]}
*/
^.*(public|protected|private)*.+class\s+\w+Entity.*
/**\n
* 类释义——实体层\n
* @author qub\n
* @since ${.now?string["yyyy-MM-dd HH:mm:ss"]}
*/
2.方法模板
.+
/**\n
* ${name} 函数释义.\n
* \n
* \n
#if>
* @param the type parameter\n
#list>
*\n
#if>
* @param ${parameter.name} 入参释义\n
#list>
*\n
* @return {@link ${element.returnType.name}} 出参释义\n
#if>
*\n
#if>
* @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
#list>
* @author qub\n
* @since ${.now?string("yyyy-MM-dd HH:mm:ss")}
*/