2017-03-29 21:36:46 +08:00
|
|
|
let g:java_getset_disable_map = get(g:, 'java_getset_disable_map', 1)
|
|
|
|
let g:javagetset_setterTemplate = get(g:, 'javagetset_setterTemplate',
|
2017-03-06 23:26:26 +08:00
|
|
|
\ "/**\n" .
|
|
|
|
\ " * Set %varname%.\n" .
|
|
|
|
\ " *\n" .
|
|
|
|
\ " * @param %varname% the value to set.\n" .
|
|
|
|
\ " */\n" .
|
|
|
|
\ "%modifiers% void %funcname%(%type% %varname%){\n" .
|
|
|
|
\ " this.%varname% = %varname%;\n" .
|
2019-01-28 22:12:37 +08:00
|
|
|
\ '}')
|
2017-03-29 21:36:46 +08:00
|
|
|
let g:javagetset_getterTemplate = get(g:, 'javagetset_getterTemplate',
|
2017-03-06 23:26:26 +08:00
|
|
|
\ "/**\n" .
|
|
|
|
\ " * Get %varname%.\n" .
|
|
|
|
\ " *\n" .
|
|
|
|
\ " * @return %varname% as %type%.\n" .
|
|
|
|
\ " */\n" .
|
|
|
|
\ "%modifiers% %type% %funcname%(){\n" .
|
|
|
|
\ " return %varname%;\n" .
|
2019-01-28 22:12:37 +08:00
|
|
|
\ '}')
|
2017-03-06 23:26:26 +08:00
|
|
|
|
|
|
|
" vim:set et sw=2:
|