docs: public Map<String,BeanDefinition> getBeanDefinitions() {
  
          Map<String,BeanDefinition> beanDefinitions = new HashMap<>();
          for (String beanName : getSpringConfig().getBeanNames()) {
              BeanDefinition bd = getSpringConfig()
                      .getBeanConfig(beanName)
                      .getBeanDefinition();
              beanDefinitions.put(beanName, bd);
          }
          return beanDefinitions;
      }