asParameterizedTypeName

@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
fun <Error class: unknown class>.asParameterizedTypeName(): ParameterizedTypeName

Returns a parameterized type equivalent to type.