Generated code tends to flag up in our SONAR code quality tooling for things like cyclomatic complexity. It seems that it is a recognised problem and there is support for annotation-based suppression.
I don't want to have to manually edit or annotate this code to prevent these warnings. How can I change the generated code produced by Eclipse to include say a @Generated
or @SuppressWarnings("all")
annotation whenever it generates code for me?