parameterizedBy

fun KClass<*>.parameterizedBy(vararg typeArguments: KClass<*>): ParameterizedTypeName
fun <Error class: unknown class><out <Error class: unknown class>>.parameterizedBy(vararg typeArguments: <Error class: unknown class>): ParameterizedTypeName
fun <Error class: unknown class><out <Error class: unknown class>>.parameterizedBy(typeArguments: Iterable<<Error class: unknown class>>): ParameterizedTypeName

Returns a parameterized type, applying typeArguments to this.