Disallowing certain Lombok annotations

28 views
Skip to first unread message

Marcel Overdijk

unread,
Sep 12, 2022, 8:00:21 AM9/12/22
to Project Lombok
Although Lombok is great, I wonder if it is possible to disallow certain Lombok annotations in a project code base; e.g. I would like to disallow the @Data annotation.

Maybe using a codestyle rule?


Does anybody have some experience with this?


Marcel Overdijk

unread,
Sep 12, 2022, 8:10:30 AM9/12/22
to Project Lombok
Never mind ;-)

lombok.data.flagUsage = error
Reply all
Reply to author
Forward
0 new messages