code: public static BeanInfo createBeanInfo(Class<? extends Object> c) {
          BeanInfo bi = DefaultBeanInfoResolver.getBeanInfoHelper(c);
          if (bi == null) {
              bi = new ConfigBeanInfo(c);
              DefaultBeanInfoResolver.addBeanInfo(c, bi);
          }
          return bi;
      }
docs: Get the bean information of a type.
  
  @param c The type to get the bean information of.
  @return The BeanInfo of the specified type.