class I18nInterceptor implements Interceptor {
    public static final I18nInterceptor instance = new I18nInterceptor();

    @Override
    public Object doIntercept(Invocation inv) throws Throwable {<FILL_FUNCTION_BODY>}
}

        Object rst = inv.invoke();

        if (rst instanceof ModelAndView) {
            Context ctx = Context.current();
            I18n anno = inv.getMethodAnnotation(I18n.class);

            if (anno == null) {
                anno = inv.getTargetAnnotation(I18n.class);
            }

            if (anno != null && ctx != null) {
                ModelAndView mv = (ModelAndView) rst;

                String bundleName = Utils.annoAlias(anno.value(), anno.bundle());
                I18nBundle bundle;

                if (Utils.isEmpty(bundleName)) {
                    bundle = I18nUtil.getMessageBundle(ctx);
                } else {
                    bundle = I18nUtil.getBundle(bundleName, ctx);
                }

                mv.put("i18n", bundle);
            }
        }

        return rst;
    
<no_super_class>