1. Template text
* * * $param$ * $return$ * @author yifan * @date $date$ **/
2. param
groovyScript("if(\"${_1}\".length() == 2) {return '';} else { def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) { if(i==0){result+='@param ' + params[i] + ' '} else{result+='\\n' + ' * @param ' + params[i] + ' '}}; return result;}", methodParameters() );
3. return
groovyScript("def returnType = \"${_1}\"; def result = '@return : ' + returnType; return result;", methodReturnType());