For some time now I have been bothered by the lack of fluent interface setters. I am aware of Lomboks system however the generated functions still return a void. Would it be possible/and how to make a setter to return its class instance? Thanks
Advertisement
Answer
Answer solved with Accessors.
@Accessor(chain=true)
Over any class which you’d like to have chained.