I was trying to add typealias support to Room XProcessing and hit an interesting case.
Should there be a similar
getClassDeclarationByName
that supports
KSTypeAlias
.
I'm honestly not sure what is the right behavior here.
I think in XProcessing, we'll just resolve them immediately as we wrap which might cause some confusion but will work fine (except for the fact that generated code would access the resolved type rather than type alias).
But i don't know if there are other cases where processors would need to find classes by type alias