Kotlin. How to check if the field is nullable via reflection? : <p>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. </p>

<p>So the main question is how to implement this check via reflection?</p>
