code: public static void invokeWriteMethodOptional(
          Object bean, String propertyName, Object value)
      {
          Class<?> c = bean.getClass();
          Method method = getWriteMethodOptional(c, propertyName);
          if (method != null)
          {
              Methods.invokeOptional(method, bean, value);
          }
      }
docs: Invokes the write-method on the given object for the property with
  the given name, passing in the given value.<br>
  <br>
  Any checked exception that may be thrown internally will silently
  be ignored.
  
  @param bean The object to call the method on
  @param propertyName The property name
  @param value The value to pass to the method