code: public static BindingResult bindObjectToInstance(Object object, Object source, List include, List exclude, String filter) {
          if (include == null && exclude == null) {
              include = getBindingIncludeList(object);
          }
          GrailsApplication application = Holders.findApplication();
          PersistentEntity entity = null;
          if (application != null) {
              try {
                  entity = application.getMappingContext().getPersistentEntity(object.getClass().getName());
              } catch (GrailsConfigurationException e) {
                  //no-op
              }
          }
          return bindObjectToDomainInstance(entity, object, source, include, exclude, filter);
      }
docs: Binds the given source object to the given target object performing type conversion if necessary
  
  @param object The object to bind to
  @param source The source object
  @param include The list of properties to include
  @param exclude The list of properties to exclude
  @param filter The prefix to filter by
  
  @return A BindingResult if there were errors or null if it was successful