companionObjectInstance
val KClass<*>.companionObjectInstance: Any?
Returns an instance of the companion object of a given class,
or null
if the class doesn't have a companion object.
val KClass<*>.companionObjectInstance: Any?
Returns an instance of the companion object of a given class,
or null
if the class doesn't have a companion object.