public int getMaxSize() {
    return specs.length;
  }
Gets the maximum number of registers that may be in this instance, which is also the
maximum-plus-one of register numbers that may be represented.

@return {@code >= 0;} the maximum size
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/RegisterSpecSet.java