Loads the module instance and returns it.
Loads the module instance and returns it.
If the underlying constructor throws an exception e
, then loadModule
throws e
, unlike java.lang.reflect.Field.get
which would wrap it in a
java.lang.reflect.ExceptionInInitializerError
.
The java.lang.Class[_]
representing the module class.
A wrapper for a module class that can be loaded.