Top "Lombok" questions

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

Excluding Lombok classes from Sonar coverage report

Latest Jacoco plugin (still in snapshot version, 0.7.10-SNAPSHOT), has a nice new feature to filter out the Lombok generated code (…

java spring-boot sonarqube lombok jacoco-maven-plugin
Inheritance for builders in lombok

I was trying to use lombok for my project. I have a class A: @Data @Builder public class A { Integer …

java inheritance design-patterns builder lombok
Which is the proper Gradle plugin to support 'provided' method?

I'm currently trying to include Project Lombok helper into my Gradle project, but while following their instructions for Gradle within …

java gradle build.gradle lombok
Default field value with @Builder or @Getter annotation in Lombok

I'm using Lombok @Builder annotation, but I'd like some of the String fields to be optional and default to "" to …

java getter builder lombok
Lombok causing "Actual and formal arguments lists differ in length error"

I have the following class: @Builder @NoArgsConstructor public class ConsultationPointOfContact { private String fullName; private String phoneNumber; private String userLogin; } When …

java lombok intellij-lombok-plugin
How to run code after constructor in a Lombok builder

I have a class that I want to use Lombok.Builder and I need pre-process of some parameters. Something like …

java lombok
How to implements Lombok @Builder for Abstract class

I have classes that extend an abstract class and I don't want to put @Builder on top of the all …

java design-patterns builder lombok
Lombok builder pattern with jackson JsonProperty

I have constructed a Java Object using lombok with builder pattern. But, I am getting the following exception when trying …

java jackson pojo lombok jackson-databind
Lombok incompatible with IntelliJ 2020.2

After the last update to IntelliJ 2020.2 i get the Error: Plugin "Lombok" is incompatible (until build 201.SNAPSHOT < IC-202.6397.94). I've …

intellij-idea lombok intellij-lombok-plugin
AllArgsConstructor from lombok is not found by Android Studio

When I create a new Java class with one or more field and attach the @AllArgsConstructor annotation from lombok to …

java android android-studio lombok