template text ,一模一样拷贝,前面不要加什么/**
*
*
*
* @author abcwangjingjing
* @date $date$ $time$
* @param $params$
* @return $returns$
**/
edit variables:
params:
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+= params[i] + ': '}else{result+='\\n' + ' * @param ' + params[i] + ': '}}; return result;}", methodParameters());
returns:
groovyScript("def returnType = \"${_1}\"; def result = returnType; return result;", methodReturnType());