public RegisterSpec toRegisterSpec() {
      return new RegisterSpec(reg, type, local);
    }
Construct a {@code RegisterSpec} of this instance's contents.

@return {@code non-null;} an appropriately-constructed instance
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/RegisterSpec.java