protected final TypeBearer result(int n) {
    if (n >= resultCount) {
      throw new IllegalArgumentException("n >= resultCount");
    }

    try {
      return results[n];
    } catch (ArrayIndexOutOfBoundsException ex) {
      // Translate the exception.
      throw new IllegalArgumentException("n < 0");
    }
  }
Gets the {@code n}th result value.

@param n {@code >= 0, < resultCount();} which result
@return {@code non-null;} the indicated result value
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/BaseMachine.java