com.github.themrmilchmann.kraton.lang.jvm / java.lang.Class

Extensions for java.lang.Class

asType

val Class<*>.asType: IJvmType

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

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

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