Join Slack
Powered by
so if I want to grab a private member my best bet ...
# reflect
g
groostav
08/04/2018, 5:17 AM
so if I want to grab a private member my best bet is to after it via javas reflection api, rather than kotlins, _which is so much nicer Q_Q_
u
udalov
08/06/2018, 5:29 PM
I'm not sure what exactly would you like to do, but there's
isAccessible
in kotlin-reflect:
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.jvm/is-accessible.html
Open in Slack
Previous
Next