com.github.themrmilchmann.kraton.lang.jvm / kotlin.reflect.KClass

Extensions for kotlin.reflect.KClass

asType

val KClass<*>.asType: IJvmType

Creates and returns a new IJvmType which holds a reference to the receiver type of this property.

fun KClass<*>.asType(vararg typeParameters: IJvmType, nullable: Boolean = false): IJvmType

Creates and returns a new IJvmType which holds a reference to the receiver type.