Class TypedElementInfo.BuilderBase.TypedElementInfoImpl

java.lang.Object
io.helidon.common.types.TypedElementInfo.BuilderBase.TypedElementInfoImpl
All Implemented Interfaces:
Prototype.Api, Annotated, TypedElementInfo
Enclosing class:
TypedElementInfo.BuilderBase<BUILDER extends TypedElementInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends TypedElementInfo>

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

    • TypedElementInfoImpl

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

    • toString

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

      public String toDeclaration()
      Description copied from interface: TypedElementInfo
      Provides a description for this instance.
      Specified by:
      toDeclaration in interface TypedElementInfo
      Returns:
      provides the {typeName}{space}{elementName}
    • description

      public Optional<String> description()
    • typeName

      public TypeName typeName()
    • elementName

      public String elementName()
    • elementTypeKind

      public String elementTypeKind()
    • kind

      public ElementKind kind()
    • defaultValue

      public Optional<String> defaultValue()
    • elementTypeAnnotations

      public List<Annotation> elementTypeAnnotations()
    • componentTypes

      public List<TypeName> componentTypes()
    • modifiers

      public Set<String> modifiers()
    • elementModifiers

      public Set<Modifier> elementModifiers()
    • accessModifier

      public AccessModifier accessModifier()
    • enclosingType

      public Optional<TypeName> enclosingType()
    • parameterArguments

      public List<TypedElementInfo> parameterArguments()
    • throwsChecked

      public Set<TypeName> throwsChecked()
    • 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.

      Specified by:
      inheritedAnnotations in interface Annotated
      Returns:
      list of all meta annotations of this element
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object