suppress warnings about @SuppressWarnings("PMD") [message #333596] |
Thu, 18 December 2008 03:29 |
Eclipse User |
|
|
|
I am using the eclipse PMD plugin (a static source code analyser with
sophisticated rule sets) with Eclipse Java edition. It has a feature where
I can use the standard Java compiler annotation of @SuppressWarnings
passing in the rules to ignore as @SuppressWarnings("PMD.ruleX").
My problem is that eclipse then puts a warning that it does not understand
this annotation. If you are seeking to tune your rule set and have a zero
tolerance to any warnings these spurious warnings are a wart on the nose.
Is there any way to configure eclipse to ignore these static analysis
annotations?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04056 seconds