Java ThreadSafe

Sonar is complaining that marking a collection field volatile is not enough to make it thread safe - which is true in general, but it seems like it does not accept ImmutableSet from Google collections as a valid thread safe implementation - is it somehow configurable?

We are using

What are the versions of SonarQube and SonarJava that you’re using?
Could you also post relevant code snippets?

As MomEngineer wrote, we use command line Sonar client There is nothing special in the snippet, it is just a plain Java class with public mutable fields marked with volatile. We use so I don’t know how to provide the exact SonarQube version which is hidden under the hood.