<template name="*" value="** * @Author ShuYu Liu * @Description //TODO $end$ * @Date $time$ $date$ $param$ * @return $return$ **/" shortcut="ENTER" description="方法模板" toReformat="false" toShortenFQNames="true">
<variable name="end" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="time" expression="" defaultValue="time()" alwaysStopAt="true" />
<variable name="return" expression="" defaultValue="methodReturnType()" alwaysStopAt="true" />
<variable name="param" expression="" defaultValue="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) ? '\\n' : '')}; return result", methodParameters())" alwaysStopAt="true" />
<variable name="date" expression="" defaultValue="date()" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
</context>
</template>
![](https://img-blog.csdnimg.cn/2020031119271012.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM1OTc3MjM3,size_16,color_FFFFFF,t_70)