createConcreteType

expect fun KClass<*>.createConcreteType(arguments: List<KTypeProjection>, nullable: Boolean): KType

Creates a concrete type of the receiver KClass using the provided arguments to fill in any type parameters.

actual fun KClass<*>.createConcreteType(arguments: List<KTypeProjection>, nullable: Boolean): KType