- All Superinterfaces:
Annotated,Prototype.Api
- All Known Implementing Classes:
ModuleTypeInfo.BuilderBase.ModuleTypeInfoImpl
Module info type information.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forModuleTypeInfo.static classModuleTypeInfo.BuilderBase<BUILDER extends ModuleTypeInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ModuleTypeInfo> Fluent API builder base forModuleTypeInfo. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleTypeInfo.Builderbuilder()Create a new fluent API builder to customize configuration.static ModuleTypeInfo.Builderbuilder(ModuleTypeInfo instance) Create a new fluent API builder from an existing instance.static ModuleTypeInfocreate()Create a new instance with default values.Description, such as javadoc, if available.exports()List of exports directives.booleanisOpen()Whether this is an open module.name()Module name.opens()List of opens directives.The element used to create this instance.default ObjectThe element used to create this instance, orTypeInfoBlueprint.typeName()if none provided.provides()List of provides directives.requires()List of requires directives.uses()List of uses directives.Methods inherited from interface io.helidon.common.types.Annotated
allAnnotations, annotation, annotations, findAnnotation, hasAnnotation, inheritedAnnotations
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
name
String name()Module name.- Returns:
- name of this module
-
description
Description, such as javadoc, if available.- Returns:
- description of this element
-
isOpen
boolean isOpen()Whether this is an open module.- Returns:
- if open
-
requires
List<ModuleInfoRequires> requires()List of requires directives.- Returns:
- requires
-
exports
List<ModuleInfoExports> exports()List of exports directives.- Returns:
- exports
-
opens
List<ModuleInfoOpens> opens()List of opens directives.- Returns:
- opens
-
uses
List<ModuleInfoUses> uses()List of uses directives.- Returns:
- uses
-
provides
List<ModuleInfoProvides> provides()List of provides directives.- Returns:
- provides
-
originatingElement
The element used to create this instance. The type of the object depends on the environment we are in - it may be anTypeElementin annotation processing, or aClassInfowhen using classpath scanning.- Returns:
- originating element
-
originatingElementValue
The element used to create this instance, orTypeInfoBlueprint.typeName()if none provided. The type of the object depends on the environment we are in - it may be anTypeElementin annotation processing, or aClassInfowhen using classpath scanning.- Returns:
- originating element, or the type of this type info
-