}
if (delegate instanceof ViewHandler) {
return new MvcViewHandler((ViewHandler) delegate, this.destinationViewResolver);
}
if (ConfigurableNavigationHandler.class.equals(typeClass)) {
return new MvcNavigationHandler((ConfigurableNavigationHandler) delegate, this.navigationOutcomeResolver);
}
if (ActionListener.class.equals(typeClass)) {
return new MvcNavigationActionListener((ActionListener) delegate);
}
if (CompositeELResolver.class.equals(typeClass)) {