Join Slack
Powered by
I can’t find anything in the documentation of Kotl...
# squarelibraries
m
MiSikora
10/05/2020, 8:53 PM
I can’t find anything in the documentation of KotlinPoet. If I have a
ClassName
that is i.e.
String
can I somehow use it to create
String::class.java
? The best I found is
("%L::class.java", className.canonicalName)
but I’d like to use a simple name that will be in the import list.
Open in Slack
Previous
Next