Searched refs:mapBinder (Results 1 – 2 of 2) sorted by relevance
791 MapBinder<String, String> mapBinder = in testMapBinderMultimapIsUnmodifiable()793 mapBinder.addBinding("a").toInstance("A"); in testMapBinderMultimapIsUnmodifiable()794 mapBinder.permitDuplicates(); in testMapBinderMultimapIsUnmodifiable()901 MapBinder<Integer, String> mapBinder = in testMultibinderDependencies()903 mapBinder.addBinding(1).toInstance("A"); in testMultibinderDependencies()904 mapBinder.addBinding(2).to(Key.get(String.class, Names.named("b"))); in testMultibinderDependencies()956 MapBinder<Integer, String> mapBinder = in testMultibinderDependenciesInToolStage()958 mapBinder.addBinding(1).toInstance("A"); in testMultibinderDependenciesInToolStage()959 mapBinder.addBinding(2).to(Key.get(String.class, Names.named("b"))); in testMultibinderDependenciesInToolStage()993 MapBinder<String, String> mapBinder = in testBindOrderEqualsIterationOrder()[all …]
238 RealMapBinder<K, V> mapBinder = in newRealMapBinder() local240 binder.install(mapBinder); in newRealMapBinder()241 return mapBinder; in newRealMapBinder()