code: private MBeanInfo getInfo(Object object, ClassIntrospector classIntrospector) throws IntrospectionException {
          JmxBean jmxBean = AnnotationUtils.getAnnotation(object.getClass(), JmxBean.class);
         
          MBeanInfo beanInfo = new MBeanInfo(object.getClass().getName(), 
                                             jmxBean.description(), 
                                             getAttributes(classIntrospector), 
                                             getConstructors(classIntrospector), 
                                             getOperations(classIntrospector), 
                                             getNotifications(object));
          return beanInfo;
      }
docs: Create and return a MBeanInfo instance for the supplied object.
  
  @param object             Supplied object to inspect.
  @param classIntrospector  ClassIntrospector to use.
  
  @return a MBeanInfo instance for the supplied object.
  
  @throws IntrospectionException    If failed to create Info object
  @throws IllegalArgumentException