You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though not strictly POJO compatible, oftentimes (generated) setters behave Builder-like, i.e. returning the instance of the class itself. This kind of setters is currently not supported by this tool, as it's checking the setter for a void return type.
A "naïve" approach to this should be fairly easy to implement (widen the scope of return value to the class type itself), but I'm not sure whether (and how) this behavior should be configurable.
If there's feedback in any direction, I'd be willing to perform the actual implementation.
The text was updated successfully, but these errors were encountered:
Even though not strictly POJO compatible, oftentimes (generated) setters behave Builder-like, i.e. returning the instance of the class itself. This kind of setters is currently not supported by this tool, as it's checking the setter for a
void
return type.A "naïve" approach to this should be fairly easy to implement (widen the scope of return value to the class type itself), but I'm not sure whether (and how) this behavior should be configurable.
If there's feedback in any direction, I'd be willing to perform the actual implementation.
The text was updated successfully, but these errors were encountered: