java.lang.Object
io.helidon.pico.api.AbstractElementInfo
io.helidon.pico.api.AbstractInjectionPointInfo
- All Implemented Interfaces:
ElementInfo,InjectionPointInfo
- Direct Known Subclasses:
DefaultInjectionPointInfo
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractInjectionPointInfo
extends AbstractElementInfo
implements InjectionPointInfo
Abstract implementation w/ builder for
InjectionPointInfo.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractInjectionPointInfo.Builder<B extends AbstractInjectionPointInfo.Builder<B,T>, T extends InjectionPointInfo> Fluent API builder forT.Nested classes/interfaces inherited from interface io.helidon.pico.api.ElementInfo
ElementInfo.Access, ElementInfo.ElementKind -
Field Summary
Fields inherited from interface io.helidon.pico.api.ElementInfo
CONSTRUCTOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.The base identifying name for this injection point.The service info criteria/dependency this is dependent upon.booleaninthashCode()id()The identity (aka id) for this injection point.booleanTrue if the injection point is of typeList.booleanTrue if the injection point is of typeOptional.booleanTrue if the injection point is of type Provider (or Supplier).toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.ElementInfo, calling theAttributeVisitorfor each.Methods inherited from class io.helidon.pico.api.AbstractElementInfo
access, annotations, elementArgs, elementKind, elementName, elementOffset, elementTypeName, qualifiers, serviceTypeName, staticDeclarationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.pico.api.ElementInfo
access, annotations, elementArgs, elementKind, elementName, elementOffset, elementTypeName, qualifiers, serviceTypeName, staticDeclaration
-
Constructor Details
-
AbstractInjectionPointInfo
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
id
Description copied from interface:InjectionPointInfoThe identity (aka id) for this injection point. The id should be unique for the service type it is contained within.This method will return the
InjectionPointInfo.baseIdentity()whenElementInfo.elementOffset()is null. If not null then the elemOffset is part of the returned identity.- Specified by:
idin interfaceInjectionPointInfo- Returns:
- the unique identity
-
baseIdentity
Description copied from interface:InjectionPointInfoThe base identifying name for this injection point. If the element represents a function, then the function arguments are encoded in its base identity.- Specified by:
baseIdentityin interfaceInjectionPointInfo- Returns:
- the base identity of the element
-
listWrapped
public boolean listWrapped()Description copied from interface:InjectionPointInfoTrue if the injection point is of typeList.- Specified by:
listWrappedin interfaceInjectionPointInfo- Returns:
- true if list based receiver
-
optionalWrapped
public boolean optionalWrapped()Description copied from interface:InjectionPointInfoTrue if the injection point is of typeOptional.- Specified by:
optionalWrappedin interfaceInjectionPointInfo- Returns:
- true if optional based receiver
-
providerWrapped
public boolean providerWrapped()Description copied from interface:InjectionPointInfoTrue if the injection point is of type Provider (or Supplier).- Specified by:
providerWrappedin interfaceInjectionPointInfo- Returns:
- true if provider based receiver
-
dependencyToServiceInfo
Description copied from interface:InjectionPointInfoThe service info criteria/dependency this is dependent upon.- Specified by:
dependencyToServiceInfoin interfaceInjectionPointInfo- Returns:
- the service info criteria we are dependent upon
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
- Overrides:
toStringin classAbstractElementInfo
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Overrides:
toStringInnerin classAbstractElementInfo- Returns:
- portion of the toString output
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractElementInfo
-
equals
- Overrides:
equalsin classAbstractElementInfo
-
visitAttributes
Description copied from class:AbstractElementInfoVisits all attributes of io.helidon.pico.api.ElementInfo, calling theAttributeVisitorfor each.- Overrides:
visitAttributesin classAbstractElementInfo- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-