code: public static BeanInfo getBeanInfo(Class<?> beanClass, int flags) throws IntrospectionException
  	{
  		if (flags == USE_ALL_BEANINFO)
  		{
  			// try to use cache
  			return getBeanInfo(beanClass);
  		}
  		return getBeanInfoImplAndInit(beanClass, null, flags);
  	}
docs: Gets the <code>BeanInfo</code> object which contains the information of the properties, events and methods of the specified bean class.
  <ol>
  <li>If <code>flag==IGNORE_ALL_BEANINFO</code>, the <code>Introspector</code> will ignore all <code>BeanInfo</code> class.</li>
  <li>If <code>flag==IGNORE_IMMEDIATE_BEANINFO</code>, the <code>Introspector</code> will ignore the <code>BeanInfo</code> class of the current bean class.
  </li>
  <li>If <code>flag==USE_ALL_BEANINFO</code>, the <code>Introspector</code> will use all <code>BeanInfo</code> class which have been found.</li>
  </ol>
  <p>
  The <code>Introspector</code> will cache the <code>BeanInfo</code> object. Subsequent calls to this method will be answered with the cached data.
  </p>
  
  @param beanClass
  the specified bean class.
  @param flags
  the flag to control the usage of the explicit <code>BeanInfo</code> class.
  @return the <code>BeanInfo</code> of the bean class.
  @throws IntrospectionException