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
      The list of known annotations for this element. Note that "known" implies that the annotation is visible, which depends upon the context in which it was build.
      Specified by:
      annotations in interface Annotated
      Returns:
      the list of annotations on this element
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object