@Override
	public boolean supportsParameter(MethodParameter parameter) {
		return parameter.getParameterIndex() == 0 && parameter.getParameterType().equals(User.class);
	}
{@link HandlerMethodArgumentResolver} for {@link User} argument.

It passes the current user instance on {@link User} argument.

@since 3.0
ngrinder-controller/src/main/java/org/ngrinder/infra/spring/UserHandlerMethodArgumentResolver.java