class C(val s: String?) { fun foo(p: Boolean) { if (p) { print(s!!) } else { print(this.s!!) } s.length() } }