Is it possible to add @Builder and @AllArgsConstructor in static inner classes [Lombok]?

Viewed 6897

Basically, the question is if it is possible to add Lombok's @Builder and @AllArgsConstructor to static inner classes?

I tried and it didn't, does anyone knows how to do it, or if it's possible?

I used eclipse, Lombok version 1.18.4.

The code where this happened is confidential, hence I can only show you a little mask version.

error: constructor A in class A cannot be applied to given types;
[ERROR] required: Map<String,B>,String,boolean
[ERROR] found: no arguments
[ERROR] reason: actual and formal argument lists differ in length

A similar error appears for each static inner class, as well as the outer class.

Thanks

0 Answers
Related