Class RootClassloaderLookup

  • All Implemented Interfaces:
    Supplier<ClassLoader>

    public final class RootClassloaderLookup
    extends Object
    implements Supplier<ClassLoader>
    Looks up so-called parent (or root) class loader. Simply returns the Idea plugin classloader in the case the module is bundled into an idea plugin. Will return an application classloader in the case there is no idea plugin. Class loader returned from ReloadableModule.getClassLoader() for a given module always depends on this root class loader.