Class JDKModuleFinder

    • Method Detail

      • findModule

        public ModuleSpec findModule​(java.lang.String name,
                                     ModuleLoader delegateLoader)
        Description copied from interface: ModuleFinder
        Find a module specification for the given name. The default implementation delegates to the legacy ModuleFinder.findModule(ModuleIdentifier, ModuleLoader) method for now, however this behavior will be discontinued in the future.
        Specified by:
        findModule in interface ModuleFinder
        Parameters:
        name - the module name
        delegateLoader - the module loader from which dependencies should be resolved
        Returns:
        the module specification, or null if no specification is found for this identifier
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object