abstract class C { void foo(T t) { } } class B extends C { }