code: public static void setField(Class<?> type, String fieldName, Object value) {
      try {
        setField(null, getField(type, fieldName), value);
      }
      catch (FieldNotFoundException e) {
        throw new IllegalArgumentException(String.format("Field with name (%1$s) does not exist on class type (%2$s)!",
          fieldName, type.getName()), e);
      }
    }
docs: Sets the field with the specified name on the given class type to the given value. This method assumes the field
  is a static (class) member field.
  
  @param type the Class type on which the field is declared and defined.
  @param fieldName a String indicating the name of the field on which to set the value.
  @param value the Object value to set the specified field to.
  @throws IllegalArgumentException if the given class type does not declare a static member field
  with the specified name.
  @throws FieldAccessException if the value for the specified field could not be set.
  @see #getField(Class, String)
  @see #setField(Object, java.lang.reflect.Field, Object)