redirect

fun redirect(from: KType, to: KType)
inline fun <FROM, TO> redirect()

Redirect from the given type to the other given type, i.e. when the "from" type is processed, the "to" type is used instead.


fun redirect(redirects: Map<KType, KType>)

Redirect from the given types to the other given types, i.e. when a type is processed, the associated type is used instead.