Interface IMCModule


  • public interface IMCModule
    Represents a Java Module System module.
    • Method Detail

      • getName

        String getName()
        Returns the module name.

        An example is "java.base".

        Returns:
        module name
      • getVersion

        String getVersion()
        Returns the version of this module.

        An example is "9".

        Returns:
        module version
      • getLocation

        String getLocation()
        Returns the location of this module.

        An example is "jrt:/java.base".

        Returns:
        module location
      • getClassLoader

        IMCClassLoader getClassLoader()
        Returns the class loader where this module is loaded.
        Returns:
        module class loader