Collection of utilities for working with ClassLoader and associated tasks.
These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!
All Methods Static Methods Concrete Methods Modifier and Type Method Description
getLocation(Object object)Get the location from which the supplied object's class was loaded.
public static ClassLoader getDefaultClassLoader()
getLocationGet the location from which the supplied object's class was loaded.
object- the object for whose class the location should be retrieved
Optionalcontaining the URL of the class' location; never
nullbut potentially empty