I'm trying to convert a library from kapt to ksp. In kapt I had a very useful kotlinpoet
TypeElement.toTypeSpec(ClassInspector)
extension. Then generating the code from the original TypeSpec was a breeze - e.g. just mapping original functions to their modified generated equivalents. I can't find an equivalent in KSP world, I would assume because there is no equivalent ClassInspector.
I guess I could modify my generator classes to not rely on TypeSpec but rather something more abstract, but it would be super convenient if there was something similar. What am I missing?