https://kotlinlang.org logo
o

oliverdain

01/13/2017, 6:49 PM
Hey all, I need the equivalent of Java’s
Class.forName
. I thought I could do
Class.forName(…).kotlin
but that only works if it’s an actual Java class - fails for things like
<http://kotlin.Int|kotlin.Int>
. Any ideas for a robust equivalent that works for kotlin-specific stuff and regular classes?