diff options
Diffstat (limited to 'template/java/snip-getter.java')
-rw-r--r-- | template/java/snip-getter.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/template/java/snip-getter.java b/template/java/snip-getter.java new file mode 100644 index 0000000..a99d1b9 --- /dev/null +++ b/template/java/snip-getter.java @@ -0,0 +1,7 @@ +/** + * get {{_input_:name}} + * @return {{_input_:name}} + */ +public {{_input_:type}} get{{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}() { + return {{_input_:name}}; +} |