code: private static BeanInfo getBeanInfo(Object bean)
  	{
  		try
  		{
  			return Introspector.getBeanInfo(bean.getClass());
  		}
  		catch (IntrospectionException exception)
  		{
  			// TODO: handle exception better?
  			throw new RuntimeException("Error introspecting bean: " + bean, exception);
  		}
  	}
docs: private methods --------------------------------------------------------