Created
April 19, 2017 09:56
-
-
Save pablisco/2c08f94e629d9df42bda374df9a16d37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($paramName = $helper.getParamName($field, $project)) | |
public ## | |
#if($field.modifierStatic) | |
static void ## | |
#else | |
$classname ## | |
#end | |
with$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; | |
#if(!$field.modifierStatic) | |
return this; | |
#end | |
} |
Hi Pablo :-)
where do you copy Wither.template file?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to add it
Select to add a getter on the new menu (cmd+n or ctr+n):

Select the button with the 3 dots to add a new template:

Add it as a new template:

Profit