Searched refs:MapBinder (Results 1 – 5 of 5) sorted by relevance
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | MapBinderTest.java | 121 MapBinder.newMapBinder(binder(), String.class, String.class).permitDuplicates(); in testAllBindings() 168 MapBinder<String, String> multibinder = MapBinder.newMapBinder( in testMapBinderAggregatesMultipleModules() 177 MapBinder<String, String> multibinder = MapBinder.newMapBinder( in testMapBinderAggregatesMultipleModules() 199 MapBinder<String, String> multibinder = MapBinder.newMapBinder( in testMapBinderAggregationForAnnotationInstance() 204 multibinder = MapBinder.newMapBinder( in testMapBinderAggregationForAnnotationInstance() 225 MapBinder<String, String> multibinder = MapBinder.newMapBinder( in testMapBinderAggregationForAnnotationType() 230 multibinder = MapBinder.newMapBinder( in testMapBinderAggregationForAnnotationType() 251 MapBinder<String, String> abcMapBinder = MapBinder.newMapBinder( in testMapBinderWithMultipleAnnotationValueSets() 257 MapBinder<String, String> deMapBinder = MapBinder.newMapBinder( in testMapBinderWithMultipleAnnotationValueSets() 286 MapBinder<String, String> abcMapBinder = MapBinder.newMapBinder( in testMapBinderWithMultipleAnnotationTypeSets() [all …]
|
D | SpiUtils.java | 19 import static com.google.inject.multibindings.MapBinder.entryOfProviderOf; 20 import static com.google.inject.multibindings.MapBinder.mapOf; 21 import static com.google.inject.multibindings.MapBinder.mapOfJavaxProviderOf; 22 import static com.google.inject.multibindings.MapBinder.mapOfProviderOf; 23 import static com.google.inject.multibindings.MapBinder.mapOfSetOfProviderOf; 62 import com.google.inject.multibindings.MapBinder.RealMapBinder.ProviderMapEntry;
|
D | MultibinderTest.java | 1069 MapBinder.newMapBinder(binder(), String.class, String.class) in testSetAndMapValueAreDistinct() 1091 MapBinder.newMapBinder(binder(), String.class, String.class) in testSetAndMapValueAreDistinctInSpi()
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | MapBinder.java | 136 public abstract class MapBinder<K, V> { class 137 private MapBinder() {} in MapBinder() method in MapBinder 143 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder, in newMapBinder() 145 binder = binder.skipSources(MapBinder.class, RealMapBinder.class); in newMapBinder() 154 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder, in newMapBinder() 163 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder, in newMapBinder() 165 binder = binder.skipSources(MapBinder.class, RealMapBinder.class); in newMapBinder() 175 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder, in newMapBinder() 184 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder, TypeLiteral<K> keyType, in newMapBinder() 186 binder = binder.skipSources(MapBinder.class, RealMapBinder.class); in newMapBinder() [all …]
|
D | MultibindingsScanner.java | 98 return MapBinder.newRealMapBinder(binder, typeAndValue.type, key)
|