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!
Method SummaryModifier and TypeMethodDescription
(Object object)Get the location from which the supplied object's class was loaded.
getDefaultClassLoaderpublic 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