This content has been marked as final. Show 2 replies
Because @SuppressWarnings has ["@Retention(value=SOURCE)"|http://java.sun.com/javase/6/docs/api/java/lang/SuppressWarnings.html], which means that the annotation is only accessible/visible at compile-time and won't ever be written to the .class file. The reason for this is because it's an annotation that's supposed to influence what the compiler does with the source and nothing else.
Thanks for your answer Joachim!
I always find it amazing how I can still fail to recognize the most obvious errors.