java.lang.Object
io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- All Implemented Interfaces:
ModuleInfo
- Enclosing class:
ModuleInfo.BuilderBase<BUILDER extends ModuleInfo.BuilderBase<BUILDER>>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.codegen.ModuleInfo
ModuleInfo.Builder, ModuleInfo.BuilderBase<BUILDER extends ModuleInfo.BuilderBase<BUILDER>>
-
Field Summary
Fields inherited from interface io.helidon.codegen.ModuleInfo
DEFAULT_MODULE_NAME, FILE_NAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
ModuleInfoImpl
(ModuleInfo.BuilderBase<?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
exports()
Exports of the module.int
hashCode()
boolean
isOpen()
Whether this module is declared as open module.name()
Name of the module.opens()
Map of opened packages to modules (if any).provides()
Map of provider interfaces to provider implementations provided by this module.requires()
Declared dependencies of the module.toString()
uses()
Used service loader providers.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.codegen.ModuleInfo
firstUnqualifiedExport
-
Constructor Details
-
ModuleInfoImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:ModuleInfo
Name of the module.- Specified by:
name
in interfaceModuleInfo
- Returns:
- module name
-
isOpen
public boolean isOpen()Description copied from interface:ModuleInfo
Whether this module is declared as open module.- Specified by:
isOpen
in interfaceModuleInfo
- Returns:
- whether this module is open
-
requires
Description copied from interface:ModuleInfo
Declared dependencies of the module.- Specified by:
requires
in interfaceModuleInfo
- Returns:
- list of requires
-
exports
Description copied from interface:ModuleInfo
Exports of the module.- Specified by:
exports
in interfaceModuleInfo
- Returns:
- map of exported packages (exports x.y.z to a.b.cSomeModule).
-
uses
Description copied from interface:ModuleInfo
Used service loader providers.- Specified by:
uses
in interfaceModuleInfo
- Returns:
- list of used provider interfaces
-
provides
Description copied from interface:ModuleInfo
Map of provider interfaces to provider implementations provided by this module.- Specified by:
provides
in interfaceModuleInfo
- Returns:
- map of interface to implementations
-
opens
Description copied from interface:ModuleInfo
Map of opened packages to modules (if any).- Specified by:
opens
in interfaceModuleInfo
- Returns:
- map of package to modules
-
toString
-
equals
-
hashCode
public int hashCode()
-