private void visitLiteralLong(int opcode, int offset, int length, long value) {
    String commentOrLit = (length == 1) ? " // " : " #";
    String valueStr;

    if (length == 1) {
      valueStr = Hex.s1((int) value);
    } else {
      valueStr = Hex.s8(value);
    }

    observer.parsed(bytes, offset, length, header(offset) + commentOrLit + valueStr);
  }
Helper for {@link #visitConstant} where the constant is a {@code long}.

@param opcode the opcode
@param offset offset to the instruction
@param length instruction length
@param value constant value
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/direct/CodeObserver.java