public static byte setBit(byte v, int position, boolean value) {
        return (byte) setBit((int) v, position, value);
    }
Returns v, with the bit at position set to 1 or 0 depending on value.
commons-server/src/main/java/com/navercorp/pinpoint/common/server/util/BitFieldUtils.java