mercredi 26 octobre 2016

Kotlin. How to check if the field is nullable via reflection?

I'm developing a code generator that takes the data from the classes during runtime. This generator is designed to work only with Kotlin. At the moment, I was faced with the problem, as I don't know how to check if the field is nullable.

So the main question is how to implement this check via reflection?





Aucun commentaire:

Enregistrer un commentaire