public ByteBlock labelToBlock(int label) {
    int idx = indexOfLabel(label);

    if (idx < 0) {
      throw new IllegalArgumentException("no such label: " + Hex.u2(label));
    }

    return get(idx);
  }
Gets the block with the given label.

@param label the label to look for
@return {@code non-null;} the block with the given label
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/ByteBlockList.java