From ef8769d3180b2c6de91a64f69dfa23a2e6e449b9 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot
You can always manually disable getter/setter generation for any field by using the special AccessLevel.NONE
access level. This lets you override the
behaviour of a @Getter
, @Setter
or @Data
annotation on a class.
+
+ To put annotations on the generated method, you can use onMethod={@AnnotationsHere}
; to put annotations on the only parameter of a generated setter method, you can use onParam={@AnnotationsHere}
. For more details see the documentation on the onX feature.