Module io.helidon.common.types
Package io.helidon.common.types
Class ModuleTypeInfo.BuilderBase.ModuleTypeInfoImpl
java.lang.Object
io.helidon.common.types.ModuleTypeInfo.BuilderBase.ModuleTypeInfoImpl
- All Implemented Interfaces:
Prototype.Api,Annotated,ModuleTypeInfo
- Enclosing class:
ModuleTypeInfo.BuilderBase<BUILDER extends ModuleTypeInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ModuleTypeInfo>
protected static class ModuleTypeInfo.BuilderBase.ModuleTypeInfoImpl
extends Object
implements ModuleTypeInfo
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.types.ModuleTypeInfo
ModuleTypeInfo.Builder, ModuleTypeInfo.BuilderBase<BUILDER extends ModuleTypeInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ModuleTypeInfo> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedModuleTypeInfoImpl(ModuleTypeInfo.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionList of declared and known annotations for this element.Description, such as javadoc, if available.booleanexports()List of exports directives.inthashCode()List of all inherited annotations for this element.booleanisOpen()Whether this is an open module.name()Module name.opens()List of opens directives.The element used to create this instance.provides()List of provides directives.requires()List of requires directives.toString()uses()List of uses directives.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.common.types.Annotated
allAnnotations, annotation, findAnnotation, hasAnnotationMethods inherited from interface io.helidon.common.types.ModuleTypeInfo
originatingElementValue
-
Constructor Details
-
ModuleTypeInfoImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
name
Description copied from interface:ModuleTypeInfoModule name.- Specified by:
namein interfaceModuleTypeInfo- Returns:
- name of this module
-
description
Description copied from interface:ModuleTypeInfoDescription, such as javadoc, if available.- Specified by:
descriptionin interfaceModuleTypeInfo- Returns:
- description of this element
-
isOpen
public boolean isOpen()Description copied from interface:ModuleTypeInfoWhether this is an open module.- Specified by:
isOpenin interfaceModuleTypeInfo- Returns:
- if open
-
requires
Description copied from interface:ModuleTypeInfoList of requires directives.- Specified by:
requiresin interfaceModuleTypeInfo- Returns:
- requires
-
exports
Description copied from interface:ModuleTypeInfoList of exports directives.- Specified by:
exportsin interfaceModuleTypeInfo- Returns:
- exports
-
opens
Description copied from interface:ModuleTypeInfoList of opens directives.- Specified by:
opensin interfaceModuleTypeInfo- Returns:
- opens
-
uses
Description copied from interface:ModuleTypeInfoList of uses directives.- Specified by:
usesin interfaceModuleTypeInfo- Returns:
- uses
-
provides
Description copied from interface:ModuleTypeInfoList of provides directives.- Specified by:
providesin interfaceModuleTypeInfo- Returns:
- provides
-
originatingElement
Description copied from interface:ModuleTypeInfoThe 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.- Specified by:
originatingElementin interfaceModuleTypeInfo- Returns:
- originating element
-
annotations
Description copied from interface:AnnotatedList of declared and known annotations for this element. Note that "known" implies that the annotation is visible, which depends upon the context in which it was build (such as theof the annotation).- Specified by:
annotationsin interfaceAnnotated- Returns:
- the list of annotations declared on this element
-
inheritedAnnotations
Description copied from interface:AnnotatedList of all inherited annotations for this element. Inherited annotations are annotations declared on annotations of this element that are also marked asInherited.The returned list does not contain
Annotated.annotations(). If a meta-annotation is present on multiple annotations, it will be returned once for each such declaration.This method does not return annotations on super types or interfaces!
- Specified by:
inheritedAnnotationsin interfaceAnnotated- Returns:
- list of all meta annotations of this element
-
toString
-
equals
-
hashCode
public int hashCode()
-