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 |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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.