@Override
    protected AbstractMvcViewFactory createMvcViewFactory(final Expression viewId,
                                                          final ExpressionParser expressionParser,
                                                          final ConversionService conversionService,
                                                          final BinderConfiguration binderConfiguration) {
        val field = ReflectionUtils.findField(MvcViewFactoryCreator.class, "flowViewResolver", FlowViewResolver.class);
        Objects.requireNonNull(field).trySetAccessible();
        val flowViewResolver = (FlowViewResolver) ReflectionUtils.getField(field, this);
        return new CasServletMvcViewFactory(viewId, flowViewResolver,
            expressionParser, conversionService, binderConfiguration,
            new WebFlowMessageCodesResolver());
    }
This is {@link CasMvcViewFactoryCreator}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/resolver/CasMvcViewFactoryCreator.java