interface KType : KAnnotatedElement
Represents a type. Type is usually either a class with optional type arguments, or a type parameter of some declaration, plus nullability.
true if this type was marked nullable in the source code.
abstract val isMarkedNullable: Boolean
Returns a Java Type instance corresponding to the given Kotlin type.
Note that one Kotlin type may correspond to different JVM types depending on where it appears. For example, Unit corresponds to
the JVM class Unit when it's the type of a parameter, or to
void when it's the return type of a function.