public static PropertyDescriptor getPropertyDescriptor(Class targetClass, String propertyName)
            throws IntrospectionException, OgnlException {
    """
	This method returns a PropertyDescriptor for the given class and property name using a Map
	lookup (using getPropertyDescriptorsMap()).
    """
        if (targetClass == null)
            return null;

        return (PropertyDescriptor) getPropertyDescriptors(targetClass).get(propertyName);
    }
public static PropertyDescriptor getPropertyDescriptor(Class targetClass, String propertyName)
            throws IntrospectionException, OgnlException
    {
        if (targetClass == null)
            return null;

        return (PropertyDescriptor) getPropertyDescriptors(targetClass).get(propertyName);
    }
public static PropertyDescriptor getPropertyDescriptor ( Class targetClass , String propertyName ) throws IntrospectionException , OgnlException { if ( targetClass == null ) return null ; return ( PropertyDescriptor ) getPropertyDescriptors ( targetClass ) . get ( propertyName ) ; }
This method returns a PropertyDescriptor for the given class and property name using a Map
lookup (using getPropertyDescriptorsMap()).
This method returns a PropertyDescriptor for the given class and property name using a Map lookup ( using getPropertyDescriptorsMap () ) .