classForName
Safely gets the class with this name wrapped in a Validated. The throwable will be of type ClassNotFoundException or ClassCastException if T is not assignable from the class.
Return
A KClass reference to the class.
Parameters
name
The fully qualified name of the class.
T
The type of the class.