Class ModuleInfo.BuilderBase.ModuleInfoImpl

java.lang.Object
io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
All Implemented Interfaces:
ModuleInfo
Enclosing class:
ModuleInfo.BuilderBase<BUILDER extends ModuleInfo.BuilderBase<BUILDER>>

protected static class ModuleInfo.BuilderBase.ModuleInfoImpl extends Object implements ModuleInfo
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • ModuleInfoImpl

      protected ModuleInfoImpl(ModuleInfo.BuilderBase<?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • name

      public String name()
      Description copied from interface: ModuleInfo
      Name of the module.
      Specified by:
      name in interface ModuleInfo
      Returns:
      module name
    • isOpen

      public boolean isOpen()
      Description copied from interface: ModuleInfo
      Whether this module is declared as open module.
      Specified by:
      isOpen in interface ModuleInfo
      Returns:
      whether this module is open
    • requires

      public List<ModuleInfoRequires> requires()
      Description copied from interface: ModuleInfo
      Declared dependencies of the module.
      Specified by:
      requires in interface ModuleInfo
      Returns:
      list of requires
    • exports

      public Map<String,List<String>> exports()
      Description copied from interface: ModuleInfo
      Exports of the module.
      Specified by:
      exports in interface ModuleInfo
      Returns:
      map of exported packages (exports x.y.z to a.b.cSomeModule).
    • uses

      public List<TypeName> uses()
      Description copied from interface: ModuleInfo
      Used service loader providers.
      Specified by:
      uses in interface ModuleInfo
      Returns:
      list of used provider interfaces
    • provides

      public Map<TypeName,List<TypeName>> provides()
      Description copied from interface: ModuleInfo
      Map of provider interfaces to provider implementations provided by this module.
      Specified by:
      provides in interface ModuleInfo
      Returns:
      map of interface to implementations
    • opens

      public Map<String,List<String>> opens()
      Description copied from interface: ModuleInfo
      Map of opened packages to modules (if any).
      Specified by:
      opens in interface ModuleInfo
      Returns:
      map of package to modules
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object