lookup Defaults Constructor
open fun <T> lookupDefaultsConstructor(targetClass: Class<T>): Constructor<T>
Content copied to clipboard
Reflectively looks up the defaults constructor of a kotlin class.
Return
the instantiated targetClass instance.
Parameters
target Class
the target kotlin class to instantiate.
<T>
the type of targetClass.