inferSubclassType

fun inferSubclassType(subclass: KClass<*>, superclassTypeAndClass: TypeAndClass<*>): KType?(source)

Return

null if it fails to unify type parameters