From cb091204f4bfc7f9971fc296903f7bc2a163f085 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot
Any variation on boolean
will not result in using the is
prefix instead of the get
prefix; for example,
returning java.lang.Boolean
results in a get
prefix, not an is
prefix.
+
+ Any annotations named @NonNull
or @NotNull
(case insensitive) on the field are interpreted as: This field must not ever hold
+ null. Therefore, these annotations result in an explicit null check in the generated setter. Also, these
+ annotations (as well as any annotation named @Nullable
) are copied to setter parameter and getter method