Module io.helidon.inject.processor
Package io.helidon.inject.processor
Class ProcessingEvent.BuilderBase<BUILDER extends ProcessingEvent.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ProcessingEvent>
java.lang.Object
io.helidon.inject.processor.ProcessingEvent.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
io.helidon.builder.api.Prototype.Builder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
ProcessingEvent.Builder
- Enclosing interface:
ProcessingEvent
public abstract static class ProcessingEvent.BuilderBase<BUILDER extends ProcessingEvent.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ProcessingEvent>
extends Object
implements io.helidon.builder.api.Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
ProcessingEvent.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElementsOfInterest(Set<? extends io.helidon.common.types.TypedElementInfo> elementsOfInterest) Thejakarta.inject.Inject'able type elements, and possibly any other elements that are found to be of interest for processing.Clear existing value of this property.Set<io.helidon.common.types.TypedElementInfo> Thejakarta.inject.Inject'able type elements, and possibly any other elements that are found to be of interest for processing.elementsOfInterest(Set<? extends io.helidon.common.types.TypedElementInfo> elementsOfInterest) Thejakarta.inject.Inject'able type elements, and possibly any other elements that are found to be of interest for processing.from(ProcessingEvent prototype) Update this builder from an existing prototype instance.from(ProcessingEvent.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.Optionally, the activeProcessingEnvironmentif it is available.processingEnvironment(ProcessingEnvironment processingEnvironment) Optionally, the activeProcessingEnvironmentif it is available.toString()protected voidValidates required properties.Methods 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
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
clearProcessingEnvironment
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
processingEnvironment
Optionally, the activeProcessingEnvironmentif it is available.- Parameters:
processingEnvironment- the processing environment if it is available- Returns:
- updated builder instance
- See Also:
-
elementsOfInterest
public BUILDER elementsOfInterest(Set<? extends io.helidon.common.types.TypedElementInfo> elementsOfInterest) Thejakarta.inject.Inject'able type elements, and possibly any other elements that are found to be of interest for processing. The set of processed elements are subject to change in the future. The implementor is therefore encouraged to not make assumptions about the set of elements that are in this set.- Parameters:
elementsOfInterest- the set of injectable elements, and any other elements of interest to the APT- Returns:
- updated builder instance
- See Also:
-
addElementsOfInterest
public BUILDER addElementsOfInterest(Set<? extends io.helidon.common.types.TypedElementInfo> elementsOfInterest) Thejakarta.inject.Inject'able type elements, and possibly any other elements that are found to be of interest for processing. The set of processed elements are subject to change in the future. The implementor is therefore encouraged to not make assumptions about the set of elements that are in this set.- Parameters:
elementsOfInterest- the set of injectable elements, and any other elements of interest to the APT- Returns:
- updated builder instance
- See Also:
-
processingEnvironment
Optionally, the activeProcessingEnvironmentif it is available.- Returns:
- the processing environment
-
elementsOfInterest
Thejakarta.inject.Inject'able type elements, and possibly any other elements that are found to be of interest for processing. The set of processed elements are subject to change in the future. The implementor is therefore encouraged to not make assumptions about the set of elements that are in this set.- Returns:
- the elements of interest
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-