Top "Lombok" questions

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

lombok.javac.apt.LombokProcessor could not be initialized

my question somewhat relates to this post: Gradle build fails on Lombok annotated classes I am using jhipster and lombok 1.16.18 …

gradle jhipster lombok
Maven Scope for Lombok (Compile vs. Provided)

I recently found out that the lombok.jar ends up in our final artifact, which shouldn't be necessary. In my …

java maven lombok
Lombok with hibernate

Is this possible? Haven't seen much discussion on it.

java hibernate code-generation lombok
Gradle deprecated annotation processor warnings for lombok

After upgrading to gradle 4.7, my previously warning-free build now emits this warning: The following annotation processors were detected on the …

java gradle warnings lombok annotation-processing
Optional in Lombok

I have a class called Address which looks like this: @Value class Address { @NotNull String userId; @NotNull String line1; String …

java optional lombok
Lombok with IDEA 13: Cannot find symbol

I have tried using Lombok on Intellij IDEA 13 Ultimate. However. I get the famous error "cannot find symbol" for all …

java intellij-idea intellij-13 lombok
java: package lombok does not exist

I am using IntelliJ IDEA 2018.2.5 (Community Edition). Here are the complete details. Build #IC-182.4892.20, built on October 16, 2018 JRE: 1.8.0_152-release-1248-b19 …

java gradle intellij-idea lombok intellij-lombok-plugin
Does Project Lombok support Java 9?

I have used Lombok in my project, but my colleague do not agree to use it, and his reason is (…

lombok java-9
Lombok.hashCode issue with "java.lang.StackOverflowError: null"

I have two tables has one to one relationship as below: @Entity @Data @NoArgsConstructor @AllArgsConstructor public class Book { @Id @GeneratedValue(…

hashcode lombok
Edit lombok getter method name for boolean member having prefix "has"

I am having a boolean variable hasObject in lombok which generates isHasObject(). I am using @Data lombok annotation. How can …

java java-8 lombok