Is there a way to exclude sonar (version 4.0) rules with Java code?
Im using on my classes:
@SuppressWarnings("all")
But sonar don't remove all issues, we still have:
- Correctness - Class defines field that masks a superclass field
- Code duplication issues
I missing something?
EDIT: On sonar docs SuppressWarnings deactivates all rules, but don't work for me. This annotation only remove some rules.