3 comments

[ 2.7 ms ] story [ 20.9 ms ] thread
Lombok takes care of all the boiler plate code for Java mentioned in the article. Just add a @Data annotation and you will never have to see a getter/setter or generate hashcode unless you have a special need for it. Lombok can even provide a builder, which is my preferred way of creating immutable objects.

There is also a Lombok-plugin for Intellij IDEA that enables you to use the autogenerated getters/setters in the editor.

I'm surprised that Lombok is not used more.

There is also a Lombok-plugin for Intellij IDEA

Not to mention the companion plugin for Eclipse.