data class A(val x: Int, val y: String) { fun component1() = 1 fun component2() = 2 }