title: Is there an equivalent to SuppressWarnings in Scala?
body: <p>I was wondering if scala had an equivalent to java's <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/SuppressWarnings.html" rel="noreferrer">@SuppressWarnings</a> that can be applied to a function or whatever to ignore any deprecation warnings[1] that function emits?</p>
  
  <p>1: Relevant warning in my case is: <code>method stop in class Thread is deprecated: see corresponding Javadoc for more information.</code> I am aware of the problems with stop however there are still some cases where due to legacy code we have to use it.</p>