class ReflectionUtils {

	public static void setField(Object obj, String name, Object value) {
		try {
			Field field = getField(obj.getClass(), name);
			if (field == null) {
				return;
			}
			field.setAccessible(true);
			field.set(obj, value);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}