From ef8769d3180b2c6de91a64f69dfa23a2e6e449b9 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot @Setter
, you can specify an access level in case you want the generated wither to be something other than public
:
@Wither(level = AccessLevel.PROTECTED)
. Also like @Setter
, you can also put a @Wither
annotation on a type, which means
a 'wither' is generated for each field (even non-final fields).
+
+ To put annotations on the generated method, you can use onMethod={@AnnotationsHere}
; to put annotations on the only parameter of this method, you can use onParam={@AnnotationsHere}
. For more details see the documentation on the onX feature.