I want to enable the usage of @SuppressWarnings
in sonar like described in this answer: How to disable a particular checkstyle rule for a particular line of code?
But the only part where I can configure checkstyle specific behaviour in sonar is under Project Configuration -> Settings -> Java -> Checkstyle
When I add this configuration to the Filters Textbox:
<module name="TreeWalker">
<module name="SuppressWarningsHolder" />
</module>
<module name="SuppressWarningsFilter" />
Then it doesn't accept the @SuppressWarnings
. Is there a way how to configure this in sonar?