noArgumentInstance

fun noArgumentInstance(className: String): Any?(source)

Creates an instance of the class using its no argument constructor.

Return

the instance as an Any or null

Parameters

className

the class to instantiate via no argument constructor


fun noArgumentInstance(loadedClass: Class<*>): Any?(source)

Creates an instance of the class via its no argument constructor.

Return

the instance as an Any or null

Parameters

loadedClass

the class to instantiate via no argument constructor