class A(val n: Int) { fun A.foo(): Int = this@A.n + n + 1 }