public static void setFloatField(Object obj, String fieldName, float value) {
        try {
            findField(obj.getClass(), fieldName).setFloat(obj, value);
        } catch (IllegalAccessException e) {
            // should not happen
            XposedBridge.log(e);
            throw new IllegalAccessError(e.getMessage());
        } catch (IllegalArgumentException e) {
            throw e;
        }
    }
Sets the value of a {@code float} field in the given object instance. A class reference is not sufficient! See also {@link #findField}.
android/android_framework/base/src/main/java/util/XposedHelpers.java