utils/src/main/java/org/robolectric/util/inject/Injector.java
@Nonnull public <T> T getInstance(@Nonnull Class<T> type) {
    return getInstance(new Key<>(type));
  }
@Nonnull public <T> T getInstance(@Nonnull Class<T> type) {
    return getInstance(new Key<>(type));
  }
Finds an instance for the given class. Calls are guaranteed idempotent.