docs: private int insertIndex(List<BeanMetadataElement> filterChain) {
      int i;
      for (i = 0; i < filterChain.size(); i++) {
        BeanMetadataElement filter = filterChain.get(i);
        if (filter instanceof BeanDefinition) {
          String beanName = ((BeanDefinition) filter).getBeanClassName();
          if (beanName.equals(ExceptionTranslationFilter.class.getName())) {
             return i + 1;
          }
        }
      }
      return filterChain.size();
    }