[java] Lombok @UtilityClass and S2325

S2325 forces to flag method as static regardless @UtilityClass lombok annotation, which automaticaly marks all methods as static

Link to the issue at SonarCloud https://sonarcloud.io/project/issues?id=1c-syntax_bsl-language-server&issues=AXIyFUY0I7WcnIRValdl&open=AXIyFUY0I7WcnIRValdl&pullRequest=1178

Hello @nixel2007,

I agree with your point, I created a ticket (SONARJAVA-3437) to track this issue.

For the story, we are not Lombok users ourselves and it’s really hard to spot potential conflict (static analysis and code generation tools are not best friends…), so we appreciate your effort to report such issues.

Best,
Quentin

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.