code: private Object convertToExpectedType(final Object value, Method m) throws ELException {
          if (value == null) {
              return null;
          }
          Class<?> expectedType = m.getParameterTypes()[0];
          return getExpressionFactory().coerceToType(value, expectedType);
      }
docs: Convert an object to an expected type of the method parameter according to the conversion
  rules of the Expression Language.
  
  @param value the value to convert
  @param m     the setter method
  @return value converted to an instance of the expected type; will be null if value was null
  @throws javax.el.ELException if there was a problem coercing the value