substituteTypeParameters

fun KSType.substituteTypeParameters(bindings: Map<String, TypeName>): TypeName

Converts this wrap-signature type into a KotlinPoet TypeName, replacing type parameters by bindings (S → the mapper's source, T → its target). Nullability and use-site variance are preserved.