forName

fun forName(className: String): Class<*>

Retrieves the Class object associated with the given fully qualified class name. The method caches the result to avoid redundant lookups for the same class name.

Return

the Class object representing the desired class

Parameters

className

the fully qualified name of the desired class

Throws

if the class cannot be located by its name