Is there currently a way to parse a raw ClassName from a textual representation, or a KtTypeReference? #1187
|
I am building a compiler plugin using kotlinpoet -- and in my generated code, some of the types of the source code need to pass through unchanged. I have access to these types in the form of a If I just use the raw text of the rather than simply Is there currently a way to translate/parse a |
Replies: 1 comment 1 reply
|
We don't have a first party PSI artifact, but https://github.com/square/anvil has a bunch of utilities around this and almost certainly has some prior art you could use. |
We don't have a first party PSI artifact, but https://github.com/square/anvil has a bunch of utilities around this and almost certainly has some prior art you could use.