Relative Content

Tag Archive for javalombok

Enable just some experimental Lombok features

Lombok allows disabling of experimental features with the lombok.experimental.flagUsage=error flag. However, I need to use only one experimental feature and still have it throw some error for the rest of them.

Can you delombok all classes at once?

There’s a nice “delombok” feature, at least in IntelliJ. So, for example, you can replace @Getter with explicit getters in a couple of clicks in any given class

How to Check if a Field is Annotated by a Lombok Annotation at Runtime? [duplicate]

This question already has answers here: Lombok @Getter and @Setter annotations are not being recognised when getAnnoations() method is used (1 answer) lombok @NonNull on Field not readable using getAnnotations (1 answer) Closed 2 days ago. I need to check if a field in a class is annotated with @EqualsAndHashCode.Exclude from Lombok. However, it seems […]