//param
groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {result+='* @Param: ' + params[i] + ((i < params.size() - 1) ? '\\r\\n' : '')}; return result", methodParameters())
//return
groovyScript("def params=\"${_1}\";def index=params.lastIndexOf('.', params.indexOf('<'));if(index!=-1){params=params.substring(index+1);};index=params.indexOf('.');if(index!=-1&¶ms.indexOf('<')==-1){params=params.substring(index+1);};return '* @Return: ' + params.replaceAll('java.lang.', '').replaceAll(',',', ');", methodReturnType())
**
$params$
$return$
* @Description: $description$
* @Author: xxxxx
* @Date: $date$
*/
![](https://i-blog.csdnimg.cn/blog_migrate/15c5b82d8da208661cee730449e8467c.png)