Created
October 26, 2011 11:59
-
-
Save Riduidel/1316135 to your computer and use it in GitHub Desktop.
un template pour Eclipse facilitant l'écriture de setters fluents
This file contains 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
/** | |
* @param ${fieldName} new value for #${fieldName} | |
* @category fluent | |
* @category setter | |
* @category ${fieldName} | |
* @return this object for chaining calls | |
*/ | |
public ${primary_type_name} with${uppercasedFieldName}(${fieldType} ${fieldName}) { | |
this.set${uppercasedFieldName}(${fieldName}); | |
return this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment