@Test void supportsParameter_withIntegerParameterType_shouldReturnFalse() throws Exception { NotificationMessageHandlerMethodArgumentResolver resolver = new NotificationMessageHandlerMethodArgumentResolver(); MethodParameter methodParameter = new MethodParameter( ReflectionUtils.findMethod(NotificationMethods.class, "methodWithIntegerParameterType", Integer.class), 0); boolean supportsParameter = resolver.supportsParameter(methodParameter); assertThat(supportsParameter).isTrue(); }
@Override public boolean supportsParameter(MethodParameter parameter) { return (parameter.hasParameterAnnotation(NotificationMessage.class)); }
NotificationMessageHandlerMethodArgumentResolver extends AbstractNotificationMessageHandlerMethodArgumentResolver { @Override public boolean supportsParameter(MethodParameter parameter) { return (parameter.hasParameterAnnotation(NotificationMessage.class)); } }
NotificationMessageHandlerMethodArgumentResolver extends AbstractNotificationMessageHandlerMethodArgumentResolver { @Override public boolean supportsParameter(MethodParameter parameter) { return (parameter.hasParameterAnnotation(NotificationMessage.class)); } NotificationMessageHandlerMethodArgumentResolver();  NotificationMessageHandlerMethodArgumentResolver(
			List<HttpMessageConverter<?>> messageConverter); }
NotificationMessageHandlerMethodArgumentResolver extends AbstractNotificationMessageHandlerMethodArgumentResolver { @Override public boolean supportsParameter(MethodParameter parameter) { return (parameter.hasParameterAnnotation(NotificationMessage.class)); } NotificationMessageHandlerMethodArgumentResolver();  NotificationMessageHandlerMethodArgumentResolver(
			List<HttpMessageConverter<?>> messageConverter); @Override boolean supportsParameter(MethodParameter parameter); }
NotificationMessageHandlerMethodArgumentResolver extends AbstractNotificationMessageHandlerMethodArgumentResolver { @Override public boolean supportsParameter(MethodParameter parameter) { return (parameter.hasParameterAnnotation(NotificationMessage.class)); } NotificationMessageHandlerMethodArgumentResolver();  NotificationMessageHandlerMethodArgumentResolver(
			List<HttpMessageConverter<?>> messageConverter); @Override boolean supportsParameter(MethodParameter parameter);  }