import java.util.*; interface C extends List>{} abstract class A { abstract T baz(List> a); void bar(C x){ baz(x); } }