https://kotlinlang.org logo
#reflect
Title
# reflect
u

udalov

12/18/2015, 4:22 PM
so maybe that's not what you need, because the code working with
Copy code
class A(val x: String)
can also perfectly work with
Copy code
class A(x: String) {
    val x: String = x
}