// examples of use of SuppressWarnings

// Turn off warnings about failing to use generics for the whole class
@SuppressWarnings( "unchecked" ) public class MyClass
   {

   // Suppress warnings about missing serialVersionUID
   @SuppressWarnings( "serial" ) public void myMethod1()
      {
      /* ... */
      }

   // Suppress warnings about unused variables
   @SuppressWarnings( "unused" ) public void myMethod2()
      {
      /* ... */
      }

   // Suppress warnings about both missing serialVersionUID and unused variables
   @SuppressWarnings( "serial", "unused" ) public void myMethod3()
      {
      /* ... */
      }
   }