jeudi 19 novembre 2020

How to get Methods from KClass in Kotlin

In java when i have a Class<> instance, i have the getMethod that return a Method and it is very easy to use. As i can see Kotlin makes life harder because such a method doesn't exist. is there a nice way to get a specific method beside of turning the KClass to Class and then using it exactly as in Java?





Aucun commentaire:

Enregistrer un commentaire