Module io.helidon.inject.api
Package io.helidon.inject.api
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.inject.api.ElementInfo
ElementInfo.Builder, ElementInfo.BuilderBase<BUILDER extends ElementInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ElementInfo> Nested classes/interfaces inherited from interface io.helidon.inject.api.InjectionPointInfo
InjectionPointInfo.Builder, InjectionPointInfo.BuilderBase<BUILDER extends InjectionPointInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends InjectionPointInfo> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInjectionPointInfoImpl(InjectionPointInfo.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionaccess()The access modifier on the injection point/receiver.The annotations on this element.If the element is a method or constructor then this is the total argument count for that method.The injection point/receiver kind.The element name (e.g., method name or field name).If the element is a method or constructor then this is the ordinal argument position of that argument.The element type name (e.g., method type or field type).booleaninthashCode()id()ipName()ipType()booleanbooleanbooleanThe qualifier type annotations on this element.The enclosing class name for the element.booleanTrue if the injection point is static.toString()Methods inherited from class io.helidon.inject.api.ElementInfo.BuilderBase.ElementInfoImpl
access, annotations, elementArgs, elementKind, elementName, elementOffset, elementTypeName, qualifiers, serviceTypeName, staticDeclaration
-
Field Details
-
CONSTRUCTOR
The name assigned to constructors.- See Also:
-
-
Constructor Details
-
InjectionPointInfoImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
ipName
-
ipType
-
id
-
baseIdentity
-
listWrapped
public boolean listWrapped() -
optionalWrapped
public boolean optionalWrapped() -
providerWrapped
public boolean providerWrapped() -
dependencyToServiceInfo
-
toString
- Overrides:
toStringin classElementInfo.BuilderBase.ElementInfoImpl
-
equals
- Overrides:
equalsin classElementInfo.BuilderBase.ElementInfoImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classElementInfo.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
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
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
The qualifier type annotations on this element.- Returns:
- the qualifier type annotations on this element
-