code: protected PropertyEditor getPropertyEditor(PropertyDescriptor desc) throws ReflectiveOperationException {
        Class<?> cls = desc.getPropertyEditorClass();
        if (null != cls) {
           return (PropertyEditor) cls.getConstructor().newInstance();
        }
        return getPropertyEditorValue(desc.getPropertyType());
     }
docs: Attempt to find custom property editor on descriptor first, else try the propery editor manager.
  
  @param desc - PropertyDescriptor.
  @return - the PropertyEditor for the given PropertyDescriptor.
  @throws ReflectiveOperationException - thrown when getting the PropertyEditor for the class.