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

    results[0] = result;
    resultCount = 1;
  }
Sets the results list to be the given single value.

<p><b>Note:</b> If there is more than one result value, the others may be added by using {@link
#addResult}.

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