looking at `TypeMirror.asTypeName()` from kotlin p...
# squarelibraries
w
looking at
TypeMirror.asTypeName()
from kotlin poet suggests using
kotlinpoet-metadata
instead. looking through the docs i don’t really see how I can perform the same type of operation from within an annotation processor on an
Element
to get a type name. any suggestions?
e
Copy code
package com.squareup.kotlinpoet.metadata
@KotlinPoetMetadataPreview
public fun TypeElement.toKmClass(): KmClass
w
thanks 🙂