Interface ModuleDescription.ForLoadedModule.Module

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getDescriptor​(java.lang.Object value)
      Returns the module descriptor.
      java.lang.String getName​(java.lang.Object value)
      Returns the module's name.
      java.util.Set<java.lang.String> getPackages​(java.lang.Object value)
      Returns the module's exported packages.
      boolean isInstance​(java.lang.Object value)
      Returns true if the supplied instance is of type java.lang.Module.
      boolean isNamed​(java.lang.Object value)
      Returns true if the supplied module is named.
    • Method Detail

      • isInstance

        @Instance
        boolean isInstance​(java.lang.Object value)
        Returns true if the supplied instance is of type java.lang.Module.
        Parameters:
        value - The instance to investigate.
        Returns:
        true if the supplied value is a java.lang.Module.
      • isNamed

        boolean isNamed​(java.lang.Object value)
        Returns true if the supplied module is named.
        Parameters:
        value - The java.lang.Module to check for the existence of a name.
        Returns:
        true if the supplied module is named.
      • getName

        java.lang.String getName​(java.lang.Object value)
        Returns the module's name.
        Parameters:
        value - The java.lang.Module to check for its name.
        Returns:
        The module's (implicit or explicit) name.
      • getPackages

        java.util.Set<java.lang.String> getPackages​(java.lang.Object value)
        Returns the module's exported packages.
        Parameters:
        value - The java.lang.Module to check for its packages.
        Returns:
        The module's packages.
      • getDescriptor

        java.lang.Object getDescriptor​(java.lang.Object value)
        Returns the module descriptor.
        Parameters:
        value - The java.lang.Module to check for its descriptor.
        Returns:
        The module's descriptor.