Say I have some Java code:
public class Widget { ...whatever }
And some code that classloads the Widget:
Widget
Class
According to this method javadoc:
Returns the class loader for the class. Some implementations may use null to represent the bootstrap class loader. This method will return null in such implementations if this class was loaded by the bootstrap class loader.