Created
October 3, 2011 09:35
-
-
Save ignacy/1258780 to your computer and use it in GitHub Desktop.
yasnippet getter/setter method for java
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
| # -*- mode: snippet -*- | |
| # contributor: Ignacy Moryc <imoryc@gmail.com> | |
| # name: getAset | |
| # key: gs | |
| # -- | |
| private void set$1($1 ${1:$(downcase text)})) { | |
| this.${1:$(downcase text)} = ${1:$(downcase text)}; | |
| } | |
| private $1 get$1() { | |
| return this.${1:$(downcase text)}; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
error:
Symbol’s value as variable is void: textfixed 2026