java.lang.Object
io.helidon.inject.api.ElementInfo.BuilderBase<BUILDER,PROTOTYPE>
io.helidon.inject.api.InjectionPointInfo.BuilderBase<InjectionPointInfo.Builder,InjectionPointInfo>
io.helidon.inject.api.InjectionPointInfo.Builder
- All Implemented Interfaces:
Prototype.Api,Prototype.Builder<InjectionPointInfo.Builder,,InjectionPointInfo> Builder<InjectionPointInfo.Builder,,InjectionPointInfo> ElementInfo,InjectionPointInfo,Supplier<InjectionPointInfo>
- Enclosing interface:
InjectionPointInfo
public static class InjectionPointInfo.Builder
extends InjectionPointInfo.BuilderBase<InjectionPointInfo.Builder,InjectionPointInfo>
implements Builder<InjectionPointInfo.Builder,InjectionPointInfo>
Fluent API builder for
InjectionPointInfo.-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.inject.api.InjectionPointInfo.BuilderBase
InjectionPointInfo.BuilderBase.InjectionPointInfoImplNested classes/interfaces inherited from class io.helidon.inject.api.ElementInfo.BuilderBase
ElementInfo.BuilderBase.ElementInfoImplNested 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 -
Method Summary
Modifier and TypeMethodDescriptionaccess()The access modifier on the injection point/receiver.The annotations on this element.build()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).The qualifier type annotations on this element.The enclosing class name for the element.booleanTrue if the injection point is static.Methods inherited from class io.helidon.inject.api.InjectionPointInfo.BuilderBase
baseIdentity, baseIdentity, dependencyToServiceInfo, dependencyToServiceInfo, dependencyToServiceInfo, from, from, id, id, ipName, ipName, ipType, ipType, ipType, listWrapped, listWrapped, optionalWrapped, optionalWrapped, preBuildPrototype, providerWrapped, providerWrapped, toString, validatePrototypeMethods inherited from class io.helidon.inject.api.ElementInfo.BuilderBase
access, access, addAnnotation, addAnnotation, addAnnotations, addQualifier, addQualifier, addQualifiers, annotations, annotations, clearElementArgs, clearElementOffset, elementArgs, elementArgs, elementKind, elementKind, elementName, elementName, elementOffset, elementOffset, elementTypeName, elementTypeName, elementTypeName, from, from, qualifiers, qualifiers, serviceTypeName, serviceTypeName, serviceTypeName, staticDeclaration, staticDeclarationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
resolveBuilder, self
-
Field Details
-
CONSTRUCTOR
The name assigned to constructors.- See Also:
-
-
Method Details
-
buildPrototype
- Specified by:
buildPrototypein interfacePrototype.Builder<InjectionPointInfo.Builder,InjectionPointInfo>
-
build
- Specified by:
buildin interfaceBuilder<InjectionPointInfo.Builder,InjectionPointInfo>
-
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
-