Do you know Lombok’s @Builder
annotation? What will this output?
18 Maggio 2019
Quiz: Lombok Builder with toBuilder
Posted by caladyon under Cafe Bahia, {english} | Tag: builder, java, lombok, quiz |Lascia un commento
3 ottobre 2018
Eclipse and delombok
Posted by caladyon under Violet Leopard, {english} | Tag: eclipse, lombok, maven |Lascia un commento
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…
…you have to tell Eclipse that that folder contains source files.
25 settembre 2018
Teach Maven how to Delombok
Posted by caladyon under Violet Leopard, {english} | Tag: eclipse, lombok, maven |Lascia un commento
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.
15 agosto 2018
Lombok is growing
Posted by caladyon under Cafe Bahia, {english} | Tag: java, lombok, programmazione |Lascia un commento
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…)
7 settembre 2016
Discovering Lombok
Posted by caladyon under Cafe Bahia, {english} | Tag: eclipse, java, lombok |Lascia un commento
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…)