title: Why not raw type, static variable in generic class?
body: <p>Why not raw type, static variable in generic class?</p>
  
  <p>Example, </p>
  
  <pre><code>  public class MyType&lt;E&gt; {
      class Inner { }
      static class Nested { }
  
      public static void main(String[] args) {
          MyType mt;          // warning: MyType is a raw type
          MyType.Inner inn;   // warning: MyType.Inner is a raw type
  
          MyType.Nested nest; // no warning: not parameterized type
          MyType&lt;Object&gt; mt1; // no warning: type parameter given
          MyType&lt;?&gt; mt2;      // no warning: type parameter given (wildcard OK!)
      }
  }
  </code></pre>
  
  <p><code>MyType</code> is generic class, and <code>Nested</code> is <code>static</code> class. </p>
  
  <p>called <code>MyType.Inner</code>, not warning generic type. </p>
  
  <p>I wonder why <code>static</code> variable is not warning raw type? </p>