Does this usage require kotlin-reflect.jar?
val getter: KMutableProperty1<> = MyClass::myProperty
val my value = getter.get(myInstance)
02/15/2021, 12:38 PM
No, it shouldn't
02/16/2021, 2:47 AM
Interesting. I've read through docs and wasn't able to find a definitive answer. KProperty and KMutableProperty and in the kotlin.reflect package. Are all the classes in kotlin.reflect not in the kotlin-reflect.jar?
02/16/2021, 11:41 AM
Unfortunately, there’s no good docs on that. Basically all of `get`/`set`/`invoke` in KProperty/KFunction do not require reflection, as well as different kinds of names (