protected static boolean signedFitsInNibble(int value) {
    return (value >= -8) && (value <= 7);
  }
Helper method to determine if a signed int value fits in a nibble.

@param value the value in question
@return {@code true} iff it's in the range -8..+7
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/InsnFormat.java