arguments fulfill type parameters, so you have to ...
# ksp
z
arguments fulfill type parameters, so you have to map them on to known type parameters. You can see how we do it in KotlinPoet here https://github.com/square/kotlinpoet/blob/master/interop/ksp/src/main/kotlin/com/squareup/kotlinpoet/ksp/TypeParameterResolver.kt https://github.com/square/kotlinpoet/blob/master/interop/ksp/src/main/kotlin/com/squareup/kotlinpoet/ksp/ksTypes.kt With a WIP more formal doc that has a section about it here under the "Type Parameters" section - https://github.com/square/kotlinpoet/pull/1149/files