idea 链式调用模板

#set($paramName = $helper.getParamName($field, $project))  
#if($field.modifierStatic)  
static ##  
#end  
$class.name set$StringUtil.capitalizeWithJavaBeanConvention($StringUtil.sanitizeJavaIdentifier($helper.getPropertyName($field, $project)))($field.type $paramName) {  
  #if ($field.name == $paramName)  
    #if (!$field.modifierStatic)  
      this.##  
    #else  
      $classname.##  
    #end  
  #end  
  $field.name = $paramName;  
  return this;  
}

你可能感兴趣的:(idea 链式调用模板)