Top "Lombok" questions

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

Lombok's access to jdk.compiler's internal packages incompatible with Java-16

Simply upgrading one of my projects from Java-15 to 16 (using the latest build here). On compiling the project which uses …

java maven lombok incompatibility java-16
Javadoc not generated for Lombok getter and setter

I am having a problem with generating Javadoc for Lombok getters and setters. I have tried both suggestions here. An …

javadoc lombok
Lombok and AspectJ

Im trying to use Lombok in combination with AspectJ and Maven. So, what's the problem? When i use the AspectJ …

java maven aspectj lombok
Sonarqube bad coverage because of lombok @Data

I use jacoco for coverage report. When I look at the jacoco report, coverage seems to be good. But in …

maven sonarqube jacoco lombok jacoco-maven-plugin
Lombok @SuperBuilder workaround on IntelliJ

I've a class Product: @Data @SuperBuilder public class Product { private String name; private String manufacturer; } and an extended class @Data @…

java lombok intellij-lombok-plugin
How to make Lombok and AspectJ work together?

I just finished posting this issue on SO about Lombok not generating my getters/setters. It turns out that it …

java aspectj lombok
lombok @Data complains "lombok needs a default constructor in the base class", when abstract class having final field

@Data public abstract class B { private final String str; } @Data public class A extends B{ private final String s; } Data …

java lombok intellij-plugin
Lombok's @NonNull or javax @Nonnull

Lombok's @NonNull VS javax.annotation.Nonnull Which one is better to use for method parameters and when? The answer here …

java null annotations lombok non-nullable
How to get rid of duplicate class errors in Intellij for a Mavenized project using Lombok

I have a Maven managed Lombok project and I use Intellij. After building, I always get lots of errors in …

maven intellij-idea lombok intellij-lombok-plugin
What does the syntax `@__()` mean in Lombok?

I have been working with and actively using Lombok for 2 months. With Java I'm a little more familiar. But, for …

java lombok