Skip to content

MissingCtorCheck for lombok @NoArgsConstructor and @AllArgsConstructor #13520

Answered by rnveach
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Lombok is part of https://checkstyle.org/writingchecks.html#Limitations and cannot be supported by Checkstyle.

Instead of suppressing the entire rule, I recommend suppressing either this file for the check or using xpath to find a way to suppress lombok classes.
https://checkstyle.org/filters/suppressionfilter.html
https://checkstyle.org/filters/suppressionxpathfilter.html

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@romani
Comment options

@ghost
Comment options

@nrmancuso
Comment options

@romani
Comment options

Answer selected by romani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants