Top "Lombok" questions

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

Omitting one Setter/Getter in Lombok

I want to use a data class in Lombok. Since it has about a dozen fields, I annotated it with @…

java lombok
Lombok not working with STS

Although I love lombok, it gives too much problems while configuring sometimes, specially in Linux. When I was trying to …

spring-tool-suite lombok
Lombok problems with Eclipse Oxygen

I upgraded recently to the new Eclipse version (Oxygen). I downloaded the lombok.jar from the website and installed it. …

eclipse lombok
Default value in lombok. How to init default with both constructor and builder

I have an object @Data @Builder @NoArgsConstructor @AllArgsConstructor public class UserInfo { private int id; private String nick; private boolean isEmailConfirmed = …

java lombok
IntelliJ IDEA cannot see Lombok generated code

I have a Gradle-based project that uses lombok. I have imported this project into IntelliJ IDEA 14.1 (using the Import External …

java intellij-idea junit4 lombok intellij-lombok-plugin
Can't make Jackson and Lombok work together

I am experimenting in combining Jackson and Lombok. Those are my classes: package testelombok; import com.fasterxml.jackson.annotation.JsonCreator; …

java netbeans jackson lombok
ObjectMapper can't deserialize without default constructor after upgrade to Spring Boot 2

I have following DTOs: @Value public class PracticeResults { @NotNull Map<Long, Boolean> wordAnswers; } @Value public class ProfileMetaDto { @NotEmpty …

java spring spring-boot jackson lombok
Required arguments with a Lombok @Builder

If I add @Builder to a class. The builder method is created. Person.builder().name("john").surname("Smith").build(); I …

java lombok
Lombok @builder on a class that extends another class

I have two classes Child extends Parent. I need to put @Builder annotation on the classes such that I do …

java spring hibernate lombok
Spring Boot logging with Lombok

I would like to use Project Lombok's log annotation in my Spring Boot projects but I don't want to lose …

java spring-boot lombok