Home
last modified time | relevance | path

Searched refs:newMapBinder (Results 1 – 3 of 3) sorted by relevance

/external/guice/core/src/com/google/inject/multibindings/
DMapBinder.java100 public static <K, V> MapBinder<K, V> newMapBinder( in newMapBinder() method in MapBinder
110 public static <K, V> MapBinder<K, V> newMapBinder( in newMapBinder() method in MapBinder
112 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType)); in newMapBinder()
119 public static <K, V> MapBinder<K, V> newMapBinder( in newMapBinder() method in MapBinder
129 public static <K, V> MapBinder<K, V> newMapBinder( in newMapBinder() method in MapBinder
131 return newMapBinder(binder, TypeLiteral.get(keyType), TypeLiteral.get(valueType), annotation); in newMapBinder()
138 public static <K, V> MapBinder<K, V> newMapBinder( in newMapBinder() method in MapBinder
151 public static <K, V> MapBinder<K, V> newMapBinder( in newMapBinder() method in MapBinder
156 return newMapBinder( in newMapBinder()
/external/guice/core/test/com/google/inject/internal/
DMapBinderTest.java122 MapBinder.newMapBinder(binder(), String.class, String.class).permitDuplicates(); in testAllBindings()
192 MapBinder.newMapBinder(binder(), String.class, String.class); in testMapBinderAggregatesMultipleModules()
203 MapBinder.newMapBinder(binder(), String.class, String.class); in testMapBinderAggregatesMultipleModules()
238 MapBinder.newMapBinder(binder(), String.class, String.class, Names.named("abc")); in testMapBinderAggregationForAnnotationInstance()
243 MapBinder.newMapBinder(binder(), String.class, String.class, Names.named("abc")); in testMapBinderAggregationForAnnotationInstance()
275 MapBinder.newMapBinder(binder(), String.class, String.class, Abc.class); in testMapBinderAggregationForAnnotationType()
279 multibinder = MapBinder.newMapBinder(binder(), String.class, String.class, Abc.class); in testMapBinderAggregationForAnnotationType()
311 MapBinder.newMapBinder(binder(), String.class, String.class, named("abc")); in testMapBinderWithMultipleAnnotationValueSets()
317 MapBinder.newMapBinder(binder(), String.class, String.class, named("de")); in testMapBinderWithMultipleAnnotationValueSets()
365 MapBinder.newMapBinder(binder(), String.class, String.class, Abc.class); in testMapBinderWithMultipleAnnotationTypeSets()
[all …]
DMultibinderTest.java1320 MapBinder.newMapBinder(binder(), String.class, String.class) in testSetAndMapValueAreDistinct()
1347 MapBinder.newMapBinder(binder(), String.class, String.class) in testSetAndMapValueAreDistinctInSpi()