code: private static PropertyDescriptor getPropertyDescriptor(Object bean, String name) {
  		PropertyDescriptor descriptor = null;
  		PropertyDescriptor descriptors[] = getPropertyDescriptors(bean.getClass());
  		if (descriptors != null) {
  
  			for (PropertyDescriptor descriptor1 : descriptors) {
  				if (name.equals(descriptor1.getName())) {
  					descriptor = descriptor1;
  				}
  			}
  		}
  		return descriptor;
  	}
docs: <p>
  Retrieve the property descriptor for the specified property of the
  specified bean, or return <code>null</code> if there is no such
  descriptor. This method resolves indexed and nested property references
  in the same manner as other methods in this class, except that if the
  last (or only) name element is indexed, the descriptor for the last
  resolved property itself is returned.
  </p>
  
  @param bean
  Bean for which a property descriptor is requested
  @param name
  Possibly indexed and/or nested name of the property for which
  a property descriptor is requested
  
  @exception IllegalAccessException
  if the caller does not have access to the property
  accessor method
  @exception IllegalArgumentException
  if <code>bean</code> or <code>name</code> is null
  @exception IllegalArgumentException
  if a nested reference to a property returns null
  @exception InvocationTargetException
  if the property accessor method throws an exception
  @exception NoSuchMethodException
  if an accessor method for this propety cannot be found