interface Some { fun foo() } class Other { fun test() { val a = 1 } override fun equals(other: Any?): Boolean { return super.equals(other) } override fun hashCode(): Int { return super.hashCode() } override fun toString(): String { return super.toString() } fun otherTest() { } }