MCPcopy Create free account
hub / github.com/Youlor/unpacker / setResult

Method setResult

dexfixer/src/com/android/dx/cf/code/BaseMachine.java:469–476  ·  view source on GitHub ↗

Sets the results list to be the given single value. Note: If there is more than one result value, the others may be added by using #addResult. @param result non-null; result value

(TypeBearer result)

Source from the content-addressed store, hash-verified

467 * @param result {@code non-null;} result value
468 */
469 protected final void setResult(TypeBearer result) {
470 if (result == null) {
471 throw new NullPointerException("result == null");
472 }
473
474 results[0] = result;
475 resultCount = 1;
476 }
477
478 /**
479 * Adds an additional element to the list of results.

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected