Class InjectionPointInfo.BuilderBase.InjectionPointInfoImpl

java.lang.Object
io.helidon.inject.api.ElementInfo.BuilderBase.ElementInfoImpl
io.helidon.inject.api.InjectionPointInfo.BuilderBase.InjectionPointInfoImpl
All Implemented Interfaces:
Prototype.Api, ElementInfo, InjectionPointInfo
Enclosing class:
InjectionPointInfo.BuilderBase<BUILDER extends InjectionPointInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends InjectionPointInfo>

protected static class InjectionPointInfo.BuilderBase.InjectionPointInfoImpl extends ElementInfo.BuilderBase.ElementInfoImpl implements InjectionPointInfo
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Field Details

  • Constructor Details

    • InjectionPointInfoImpl

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

    • ipName

      public String ipName()
    • ipType

      public TypeName ipType()
    • id

      public String id()
    • baseIdentity

      public String baseIdentity()
    • listWrapped

      public boolean listWrapped()
    • optionalWrapped

      public boolean optionalWrapped()
    • providerWrapped

      public boolean providerWrapped()
    • dependencyToServiceInfo

      public ServiceInfoCriteria dependencyToServiceInfo()
    • toString

      public String toString()
      Overrides:
      toString in class ElementInfo.BuilderBase.ElementInfoImpl
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ElementInfo.BuilderBase.ElementInfoImpl
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ElementInfo.BuilderBase.ElementInfoImpl
    • elementKind

      ElementKind elementKind()
      The injection point/receiver kind.
      Returns:
      the kind
    • access

      AccessModifier access()
      The access modifier on the injection point/receiver.
      Returns:
      the access
    • elementTypeName

      TypeName elementTypeName()
      The element type name (e.g., method type or field type).
      Returns:
      the target receiver type name
    • elementName

      String elementName()
      The element name (e.g., method name or field name).
      Returns:
      the target receiver name
    • elementOffset

      Optional<Integer> elementOffset()
      If the element is a method or constructor then this is the ordinal argument position of that argument.
      Returns:
      the offset argument, 0 based, or empty if field type
    • elementArgs

      Optional<Integer> elementArgs()
      If the element is a method or constructor then this is the total argument count for that method.
      Returns:
      total argument count
    • staticDeclaration

      boolean staticDeclaration()
      True if the injection point is static.
      Returns:
      true if static receiver
    • serviceTypeName

      TypeName serviceTypeName()
      The enclosing class name for the element.
      Returns:
      service type name
    • annotations

      Set<Annotation> annotations()
      The annotations on this element.
      Returns:
      the annotations on this element
    • qualifiers

      Set<Qualifier> qualifiers()
      The qualifier type annotations on this element.
      Returns:
      the qualifier type annotations on this element