MCPcopy Index your code
hub / github.com/google/guice / RememberProviderScope

Class RememberProviderScope

core/test/com/google/inject/ScopesTest.java:480–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478 }
479
480 class RememberProviderScope implements Scope {
481 final Map<Key<?>, Provider<?>> providers = Maps.newHashMap();
482
483 @Override
484 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) {
485 providers.put(key, unscoped);
486 return unscoped;
487 }
488 }
489
490 public void testSingletonAnnotationOnParameterizedType() {
491 Injector injector = Guice.createInjector();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…