code: public static void setFieldValue(Object object, String fieldName, Object value)
    {
      Params.notNull(object, "Object instance or class");
      Params.notNull(fieldName, "Field name");
      if(object instanceof Class<?>) {
        setFieldValue(null, (Class<?>)object, fieldName, value);
      }
      else {
        setFieldValue(object, object.getClass(), fieldName, value);
      }
    }
docs: Set instance or class field value. Try to set field value throwing exception if field not found. If
  <code>object</code> argument is a class, named field should be static; otherwise exception is thrown.
  <p>
  This setter tries to adapt <code>value</code> to field type: if <code>value</code> is a string and field type is
  not, delegates {@link Converter#asObject(String, Class)}. Anyway, if <code>value</code> is not a string it should
  be assignable to field type otherwise bug error is thrown.
  
  @param object instance or class to set field value to,
  @param fieldName field name,
  @param value field value.
  @throws IllegalArgumentException if <code>object</code> or <code>fieldName</code> argument is null.
  @throws NoSuchBeingException if field not found.
  @throws BugError if object is null and field is not static or if object is not null and field is static.
  @throws BugError if value is not assignable to field type.