Community
Participate
Working Groups
The @Accessors annotation currently generates a setter method with the signature void setX(T x). This is in keeping with JavaBean conventions. However, it introduces a subtle change to the expected behaviour of assignment: normally, a = b returns b; however, when a is a property, a = b returns void. There are some idioms this breaks. I think an option should be added to the annotation to allow for the generation of T setX(T x) where x is returned after assignment.