...
According to the Java API [API 2006], Annotation Type SuppressWarnings
documentation
As a matter of style, programmers should always use this annotation on the most deeply nested element where it is effective. If you want to suppress a warning in a particular method, you should annotate that method rather than its class.
...