Top "Lombok" questions

Project Lombok is a tool for reducing boilerplate code in Java through annotations and compile time code generation.

How to use Lombok @Builder annotation on Methods

I want to have an easy way to construct test data and have found the Builder pattern to be a …

java builder lombok
Lombok @Builder and JPA Default constructor

I'm using project Lombok together with Spring Data JPA. Is there any way to connect Lombok @Builder with JPA default …

java spring spring-data-jpa lombok
Warning equals/hashCode on @Data annotation lombok with inheritance

I have a entity which inherits from other. On other hand, I'm using lombok project to reduce boilerplate code, so …

java lombok
Lombok how to customise getter for Boolean object field?

One of my POJOs has a Boolean object field to permit NULLS in the database (a requirement). Is it possible …

java lombok
Build an object from an existing one using lombok

Lets say I have a lombok annotated class like @Builder class Band { String name; String type; } I know I can …

java lombok
Lombok and Maven

I'm trying to use Lombok with Maven and VRaptor on IntelliJ but it doesn't work. I already read some info …

java maven intellij-idea lombok
Java Lombok: Omitting one field in @AllArgsConstructor?

If I specify @AllArgsConstructor using Lombok, it will generate a constructor for setting all the declared (not final, not static) …

java syntax constructor field lombok
Using lombok with gradle and spring-boot

I am trying to build a project with lombok and this is what I have as dependencie. dependencies { compile("org.…

java spring-boot gradle lombok
How to exclude property from Lombok builder?

I have a class called as "XYZClientWrapper" , which have following structure: @Builder XYZClientWrapper{ String name; String domain; XYZClient client; } What …

java builder lombok