class Foo(name: String) { private val userName: String init { userName = name } }