private synchronized void setFlag(@FlagConstant byte mask, boolean value) {
    myCachedFlags = BitUtil.set(myCachedFlags, mask, value);
  }
private synchronized void setFlag(@FlagConstant byte mask, boolean value)