Interface ModuleDescription.ForLoadedModule.ModuleDescriptor.Requires

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.Enum<?>> modifiers​(java.lang.Object value)
      Returns the modifiers of the requires declaration.
      java.lang.String name​(java.lang.Object value)
      Returns the name of the required module.
      java.lang.Object rawCompiledVersion​(java.lang.Object value)
      Returns the raw compiled version of the required module.
    • Method Detail

      • name

        java.lang.String name​(java.lang.Object value)
        Returns the name of the required module.
        Parameters:
        value - The java.lang.ModuleDescriptor.Requires instance.
        Returns:
        The name of the required module.
      • modifiers

        java.util.Set<java.lang.Enum<?>> modifiers​(java.lang.Object value)
        Returns the modifiers of the requires declaration.
        Parameters:
        value - The java.lang.ModuleDescriptor.Requires instance.
        Returns:
        The modifiers of the requires declaration.
      • rawCompiledVersion

        java.lang.Object rawCompiledVersion​(java.lang.Object value)
        Returns the raw compiled version of the required module.
        Parameters:
        value - The java.lang.ModuleDescriptor.Requires instance.
        Returns:
        The raw compiled version as an Optional.