Searched refs:mapBinder (Results 1 – 2 of 2) sorted by relevance
583 MapBinder<String, String> mapBinder = MapBinder.newMapBinder( in testMapBinderMultimapIsUnmodifiable()585 mapBinder.addBinding("a").toInstance("A"); in testMapBinderMultimapIsUnmodifiable()586 mapBinder.permitDuplicates(); in testMapBinderMultimapIsUnmodifiable()672 MapBinder<Integer, String> mapBinder in testMultibinderDependencies()674 mapBinder.addBinding(1).toInstance("A"); in testMultibinderDependencies()675 mapBinder.addBinding(2).to(Key.get(String.class, Names.named("b"))); in testMultibinderDependencies()709 MapBinder<Integer, String> mapBinder in testMultibinderDependenciesInToolStage()711 mapBinder.addBinding(1).toInstance("A"); in testMultibinderDependenciesInToolStage()712 mapBinder.addBinding(2).to(Key.get(String.class, Names.named("b"))); in testMultibinderDependenciesInToolStage()733 MapBinder<String, String> mapBinder in testBindOrderEqualsIterationOrder()[all …]
254 RealMapBinder<K, V> mapBinder = in newRealMapBinder() local256 binder.install(mapBinder); in newRealMapBinder()257 return mapBinder; in newRealMapBinder()