From 642dad3f0c13a8a900aac21fe26e1eb672fbb5a6 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot boolean
). A default setter is named setFoo
if the field is called foo
, returns void
,
and takes 1 parameter of the same type as the field. It simply sets the field to this value.
- The generated getter/setter method will be public
unless you explicitly specify an AccessLevel
, as shown in the example below.
+ The generated getter/setter method will be public
unless you explicitly specify an AccessLevel
, as shown in the example above.
Legal access levels are PUBLIC
, PROTECTED
, PACKAGE
, and PRIVATE
.
For generating the method names, the first character of the field, if it is a lowercase character, is title-cased, otherwise, it is left unmodified. @@ -37,19 +51,8 @@