Module io.helidon.service.codegen
Package io.helidon.service.codegen.spi
Interface InjectCodegenObserver
public interface InjectCodegenObserver
Processes events from inject extension.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidonInjectionPoint(RegistryRoundContext roundContext, TypeInfo service, TypedElementInfo element, TypedElementInfo argument) Called for each injection point.default voidonProcessingEvent(RegistryRoundContext roundContext, Set<TypedElementInfo> elements) Called after a processing event that occurred in the codegen extension.
- 
Method Details- 
onProcessingEventCalled after a processing event that occurred in the codegen extension.- Parameters:
- roundContext- context of the current processing round
- elements- all elements of interest
 
- 
onInjectionPointdefault void onInjectionPoint(RegistryRoundContext roundContext, TypeInfo service, TypedElementInfo element, TypedElementInfo argument) Called for each injection point. In case the injection point is a field, theelementandargumentare the same instance.- Parameters:
- roundContext- context of the current processing round
- service- the service being processed
- element- element that owns the injection point (constructor, method, field)
- argument- element that is the injection point (constructor/method parameter, field)
 
 
-