for example
class A { val name:String? = "" }
now i want to delegate A's property to DelegateClass in main func:
fun main(args: Array<String>) { A().javaclass.declaredFields....(how to do this) }
thank u !
Aucun commentaire:
Enregistrer un commentaire