| 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(); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…