Package io.fluxcapacitor.common.handling
Class HandlerInspector
java.lang.Object
io.fluxcapacitor.common.handling.HandlerInspector
public class HandlerInspector extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHandlerInspector.DefaultHandler<M>static classHandlerInspector.MethodHandlerInvoker<M>static classHandlerInspector.ObjectHandlerInvoker<M>protected static classHandlerInspector.ParameterSupplier<M> -
Constructor Summary
Constructors Constructor Description HandlerInspector() -
Method Summary
Modifier and Type Method Description static <M> Handler<M>createHandler(Object target, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers)static <M> Handler<M>createHandler(Object target, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration handlerConfiguration)static booleanhasHandlerMethods(Class<?> targetClass, Class<? extends Annotation> methodAnnotation, HandlerConfiguration handlerConfiguration)static <M> HandlerInvoker<M>inspect(Class<?> type, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration handlerConfiguration)
-
Constructor Details
-
HandlerInspector
public HandlerInspector()
-
-
Method Details
-
hasHandlerMethods
public static boolean hasHandlerMethods(Class<?> targetClass, Class<? extends Annotation> methodAnnotation, HandlerConfiguration handlerConfiguration) -
createHandler
public static <M> Handler<M> createHandler(Object target, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers) -
createHandler
public static <M> Handler<M> createHandler(Object target, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration handlerConfiguration) -
inspect
public static <M> HandlerInvoker<M> inspect(Class<?> type, Class<? extends Annotation> methodAnnotation, List<ParameterResolver<? super M>> parameterResolvers, HandlerConfiguration handlerConfiguration)
-