I have a class that is annotated with @Data. But I want to exclude the toString() method and provide a custom toString. I just defined a custom toString() method as I usually do if I was not using lombok and it seemed to work. Following is my example. But wanted to know if this is the right way to exclude
Tag: intellij-lombok-plugin
Application build failed cause of Lombok
I’ve faced problem when building my project that uses Lombok after swapping to different git branch. I get multiple exceptions generally of these two types: for classes like I get for classes like I get in methods like And after all I get StackOverflowError. The problem is fixed after running gradle:clean -> gradle:build. But comes up again after swapping branch.
Lombok causing “Actual and formal arguments lists differ in length error”
I have the following class: When the @Builder annotation exists, it is causing problems with the @NoArgsConstructor. I am getting the error: Answer Add @AllArgsConstructor as well and this should fix the issue