SonarQube Java: False positive for Lombok Value (class should be declared as final)

Hey guys,

I am using SonarQube 9.9.3. I get a false positive with Java:

    private static class SomeClass {
        List<String> something;
        List<String> else;

Class SomeClass should be declared as final.

Lombok Value marks the class as final already: @Value

It seems that this was previously already fixed by"lombok%20value".

The upgrade to SonarQube 9.9.3 made the issue reappear for us.

I am not sure if this belongs to SonarQube or CheckStyle?


Hey there.

This specific rule is coming from GitHub - checkstyle/sonar-checkstyle: Support on Checkstyle in SonarQube. Officially transfered from You’ll want to reach out to them (or GitHub - checkstyle/checkstyle: Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.) to report any false-positives.