arturro
07/13/2017, 2:22 PMthis.javaClass.kotlin.memberProperties.find{ it.name == "test" }!!.get(this)
but I cannot do that:
this::class.memberProperties.find{ it.name == "test" }!!.get(this)
//ErrorKotlin: Out-projected type 'KProperty1<out T, Any?>' prohibits the use of 'public abstract fun get(receiver: T): R defined in kotlin.reflect.KProperty1'
And I want to understand itmarstran
07/13/2017, 2:28 PMthis
here?arturro
07/13/2017, 2:30 PM