lundi 11 septembre 2017

Can I use kotlin.reflect to get a value of a field

class A{
     private var p:MyObj? = null
}

It seems that I can't get p by A::p, Or I can only get it by java?

My kotlin version is

ext.kotlin_version = '1.1.4-2'





Aucun commentaire:

Enregistrer un commentaire