I have some questions about Kotlin Poet but could ...
# kapt
r
I have some questions about Kotlin Poet but could not find an specific channel for it. Let me know if this questions is off-topic and I’ll move it elsewhere. I’m looking to see if there is a way with Kotlin Poet to go from a
TypeElement
to a
TypeSpec
or similar where it already contains all the info regarding declared members, supertypes etc. If it can’t, does anybody know of any libraries where I can obtain a Kotlin like AST from an
Element
to use it in an annotation processor with kapt? Thanks!