noArgumentConstructor

Retrieves the no argument constructor of the supplied class name or null if one does not exist or is inaccessible.

Return

the no argument constructor represented as a KFunction

Parameters

className

the fully qualified class name for the desired constructor


fun noArgumentConstructor(loadedClass: Class<*>): KFunction<*>?(source)

Retrieves the no argument constructor of the supplied class or null if one does not exist or is inaccessible.

Return

the no argument constructor represented as a KFunction

Parameters

loadedClass

the class that was loaded via this loader