http://www.cnblogs.com/gjb724332682/

http://www.cnblogs.com/gjb724332682/

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) ? '\\n   ' : '')  };   return result", methodParameters() )

 

return:

groovyScript("def returnType = \"${_1}\"; def result = '* @return: ' + returnType; return result;", methodReturnType()); 

你可能感兴趣的:(http://www.cnblogs.com/gjb724332682/)