Module io.helidon.inject.tools
Package io.helidon.inject.tools.spi
Interface InterceptorCreator.InterceptorProcessor
- Enclosing interface:
InterceptorCreator
public static interface InterceptorCreator.InterceptorProcessor
Abstraction for interceptor processing.
-
Method Summary
Modifier and TypeMethodDescriptionThe set of annotation types that are trigger interception.Optional
<io.helidon.inject.tools.InterceptionPlan> createInterceptorPlan
(Set<TypeName> interceptorAnnotationTriggers) Creates the interception plan.
-
Method Details
-
allAnnotationTypeTriggers
The set of annotation types that are trigger interception.- Returns:
- the set of annotation types that are trigger interception
-
createInterceptorPlan
Optional<io.helidon.inject.tools.InterceptionPlan> createInterceptorPlan(Set<TypeName> interceptorAnnotationTriggers) Creates the interception plan.- Parameters:
interceptorAnnotationTriggers
- the annotation type triggering the interception creation.- Returns:
- the plan, or empty if there is no interception needed
-