class Test { private var str1: String? = null private var str2: String? = null set(value) { str1 = value } }