Package io.fluxcapacitor.common.handling
Class HandlerInspector.MethodHandlerMatcher<M>
java.lang.Object
io.fluxcapacitor.common.handling.HandlerInspector.MethodHandlerMatcher<M>
- All Implemented Interfaces:
HandlerMatcher<Object,M>
- Enclosing class:
HandlerInspector
public static class HandlerInspector.MethodHandlerMatcher<M>
extends Object
implements HandlerMatcher<Object,M>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Comparator<HandlerInspector.MethodHandlerMatcher<?>> -
Constructor Summary
ConstructorsConstructorDescriptionMethodHandlerMatcher(Executable executable, Class<?> targetClass, List<ParameterResolver<? super M>> parameterResolvers, @NonNull HandlerConfiguration<? super M> config) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected Class<?> getInvoker(Object target, M m) protected intgetPriority(Annotation annotation) protected booleanisPassive(Annotation annotation) matchingMethods(M message) protected intmethodIndex(Method instanceMethod, Class<?> instanceType) protected Optional<Function<Object, HandlerInvoker>> prepareInvoker(M m)
-
Field Details
-
comparator
-
-
Constructor Details
-
MethodHandlerMatcher
public MethodHandlerMatcher(Executable executable, Class<?> targetClass, List<ParameterResolver<? super M>> parameterResolvers, @NonNull @NonNull HandlerConfiguration<? super M> config)
-
-
Method Details
-
canHandle
- Specified by:
canHandlein interfaceHandlerMatcher<Object,M>
-
matchingMethods
- Specified by:
matchingMethodsin interfaceHandlerMatcher<Object,M>
-
prepareInvoker
-
getInvoker
- Specified by:
getInvokerin interfaceHandlerMatcher<Object,M>
-
computeClassForSpecificity
-
methodIndex
-
getPriority
-
isPassive
-