public boolean fitsIn8Bits() {
    if (!fitsInInt()) {
      return false;
    }

    int bits = getIntBits();
    return (byte) bits == bits;
  }
Returns true if this value can fit in 8 bits with sign-extension.

@return true if the sign-extended lower 8 bits are the same as the value.
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/cst/CstLiteralBits.java