interface A { fun x(): T fun y() val c: T val c: Int } class BB(a: A): A by a