I want to create a big Java object with 20 fileds, most of IDE's provide a generate function, wich allows me to generate getters and setters for all the fiels of my object.
The thing is, I am a big fan of method chaining and I am using it on all my objects, but I have to add return this
at the end of each setters
, which is not very handy.
Is it possible to generate setters with a special plugin form an IDE ?