Do you know Lombok’s @Builder annotation? What will this output?

(altro…)

In a previous article, I’ve set up a Lombok-aware, that needs an extra source folder to contain the files that undergo the delombok action. Is Eclipse IDE compliant with this configuration? The answer is yes, but…

screenshot-2018-10-02-1327-001.png

…you have to tell Eclipse that that folder contains source files.

(altro…)

Having to use Lombok in modules for projects that don’t know that library, I try to stay under cover… I mean that I develop the modules with Lombok but clients of those modules must not see Lombok’s annotations: so I set up Maven to delombok the source code I have written.

(altro…)

It’s nice to see that a very useful project I use very often is getting better and better as time goes by: I recently discovered that Getter/Setter annotations can generate javadoc as well! (altro…)

I’ve recently discovered an interesting java project, Lombok, that gives your IDE the ability to automatically create trivial methods (setters and getters, hashCode, equals, toString, and basic constructors) and other stuff.
All you need to do is watch the 3-minutes video at Project Lombok web site, download the little jar, click 2 buttons to install it, and then start annotating with Lombok.
(altro…)