class A { interface C {} } class B extends A<B.C>{}