Kirill Grouchnikov
01/07/2022, 9:49 PMClass.forName
+ Class.getConstructor
+ Constructor.newInstance
, but maybe something that starts with KClass
?Paul Griffith
01/07/2022, 10:15 PMephemient
01/07/2022, 11:01 PMClass.forName(name).kotlin.createInstance()
will work when there's a no-args constructor