code: public static void setVersion(Object object, int version) {
  		try {
  			Field versionField = object.getClass().getField("version");
  			versionField.set(object, version);
  		} catch (NoSuchFieldException | SecurityException | IllegalAccessException e) {
  			throw new RuntimeException(e);
  		}
  	}
docs: Set the value of the <code>version</code> in the given object
  
  @param object object containing a public <code>version</code> field. Must not be <code>null</code>
  @param version the new value.