Searched refs:entrySetBinder (Results 1 – 1 of 1) sorted by relevance
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | MapBinder.java | 253 Multibinder<Entry<K, Provider<V>>> entrySetBinder) { in newRealMapBinder() argument 255 new RealMapBinder<K, V>(binder, keyType, valueType, mapKey, entrySetBinder); in newRealMapBinder() 322 private final RealMultibinder<Map.Entry<K, Provider<V>>> entrySetBinder; field in MapBinder.RealMapBinder 332 Key<Map<K, V>> mapKey, Multibinder<Map.Entry<K, Provider<V>>> entrySetBinder) { in RealMapBinder() argument 340 this.entrySetBinder = (RealMultibinder<Entry<K, Provider<V>>>) entrySetBinder; in RealMapBinder() 352 entrySetBinder.permitDuplicates(); in permitDuplicates() 354 multimapKey, providerMultimapKey, entrySetBinder.getSetKey())); in permitDuplicates() 363 new RealElement(entrySetBinder.getSetName(), MAPBINDER, keyType.toString())); in getKeyForNewValue() 364 entrySetBinder.addBinding().toProvider(new ProviderMapEntry<K, V>( in getKeyForNewValue() 381 = ImmutableSet.<Dependency<?>>of(Dependency.get(entrySetBinder.getSetKey())); in configure() [all …]
|