import foo.A import foo.B class C : A() { override fun foo(x: MutableList?, y: String?): B<*> { TODO("Not yet implemented") } }