protected final void addResult(TypeBearer result) {
    if (result == null) {
      throw new NullPointerException("result == null");
    }

    results[resultCount] = result;
    resultCount++;
  }
Adds an additional element to the list of results.

@param result {@code non-null;} result value
@see #setResult
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/BaseMachine.java