为什么不是原始类型,泛型类中的静态变量?
例子,
  public class MyType<E> {
    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<Object> mt1; // no warning: type parameter given
        MyType<?> mt2;      // no warning: type parameter given (wildcard OK!)
    }
}
MyType是泛型类,Nested是static类。
称为MyType.Inner,而不是警告泛型类型。
我想知道为什么static变量没有警告原始类型?