loadClass
public java.lang.Class loadClass()
Get the value of resourceClass.
Loading the class does NOT guarentee that the class can be
instantiated. Go figure.
The class can be instantiated when the class is linked/resolved,
and all dependencies are resolved.
Various JDKs do this at different times, so beware:
java.lang.NoClassDefFoundError when
calling Class.getDeclaredMethod() (JDK14),
java.lang.reflect.InvocationTargetException
(wrapping java.lang.NoClassDefFoundError) when calling
java.lang.newInstance (JDK13),
and who knows what else..
- Returns:
- value of resourceClass.