interface I { fun i(t: T): Int } class C(val x: Int): I { companion object { val K: Int = 58 } fun test(): Int { return 45 * K } fun count(xs: List): Int { return xs.size } override fun i(t: T): Int { return test() + t.hashCode() } inner class B() { } }