Companion

object Companion

Since

2.11

Functions

Link copied to clipboard
fun <T : Any> createKType(clazz: Class<T>, vararg genericArguments: KType): KType

根据 Class 及泛型参数获得一个不可为 null 的类型

fun <T : Any> createKType(clazz: Class<T>, nullable: Boolean, vararg genericArguments: KType): KType

根据 Class 及泛型参数获得一个类型