Searched refs:ProviderMapEntry (Results 1 – 3 of 3) sorted by relevance
/external/guice/core/src/com/google/inject/internal/ |
D | RealMapBinder.java | 283 entrySetBinder.addBinding().toProvider(new ProviderMapEntry<K, V>(key, valueKey)); in getKeyForNewValue() 439 ProviderInstanceBinding<ProviderMapEntry<K, V>> entryBinding = in tryInitialize() 444 ProviderMapEntry<K, V> entry = (ProviderMapEntry) entryBinding.getUserSuppliedProvider(); in tryInitialize() 885 if (userSuppliedProvider instanceof ProviderMapEntry) { in getEntries() 888 ProviderMapEntry<K, V> typedUserSuppliedProvider = in getEntries() 889 (ProviderMapEntry<K, V>) userSuppliedProvider; in getEntries() 890 ProviderMapEntry<K, V> entry = typedUserSuppliedProvider; in getEntries() 1172 static final class ProviderMapEntry<K, V> class in RealMapBinder 1178 ProviderMapEntry(K key, Key<V> valueKey) { in ProviderMapEntry() method in RealMapBinder.ProviderMapEntry 1212 if (obj instanceof ProviderMapEntry) { in equals() [all …]
|
/external/guice/core/test/com/google/inject/internal/ |
D | SpiUtils.java | 63 import com.google.inject.internal.RealMapBinder.ProviderMapEntry; 271 if (pib.getUserSuppliedProvider() instanceof ProviderMapEntry) { in mapInjectorTest() 273 ProviderMapEntry<?, ?> pme = in mapInjectorTest() 274 (ProviderMapEntry<?, ?>) (Provider) pib.getUserSuppliedProvider(); in mapInjectorTest() 414 if (pb.getUserSuppliedProvider() instanceof ProviderMapEntry) { in mapModuleTest() 416 ProviderMapEntry<?, ?> pme = in mapModuleTest() 417 (ProviderMapEntry<?, ?>) (Provider) pb.getUserSuppliedProvider(); in mapModuleTest()
|
D | MapBinderTest.java | 51 import com.google.inject.internal.RealMapBinder.ProviderMapEntry; 1500 if (usp instanceof ProviderMapEntry) { in getProviderMapEntry() 1501 ProviderMapEntry<?, ?> pme = (ProviderMapEntry<?, ?>) usp; in getProviderMapEntry()
|