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.
  • Constructor Details

    • ModuleTypeInfoImpl

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

    • name

      public String name()
    • description

      public Optional<String> description()
    • isOpen

      public boolean isOpen()
    • requires

      public List<ModuleInfoRequires> requires()
    • exports

      public List<ModuleInfoExports> exports()
    • opens

      public List<ModuleInfoOpens> opens()
    • uses

      public List<ModuleInfoUses> uses()
    • provides

      public List<ModuleInfoProvides> provides()
    • originatingElement

      public Optional<Object> originatingElement()
    • annotations

      public List<Annotation> annotations()
      Description copied from interface: Annotated
      List 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 the of the annotation).
      Specified by:
      annotations in interface Annotated
      Returns:
      the list of annotations declared on this element
    • inheritedAnnotations

      public List<Annotation> inheritedAnnotations()
      Description copied from interface: Annotated
      List of all inherited annotations for this element. Inherited annotations are annotations declared on annotations of this element that are also marked as Inherited.

      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:
      inheritedAnnotations in interface Annotated
      Returns:
      list of all meta annotations of this element
    • 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
    • originatingElementValue

      default Object originatingElementValue()
      The element used to create this instance, or TypeInfoBlueprint.typeName() if none provided. The type of the object depends on the environment we are in - it may be an TypeElement in annotation processing, or a ClassInfo when using classpath scanning.
      Returns:
      originating element, or the type of this type info