Searched refs:permitDuplicates (Results 1 – 4 of 4) sorted by relevance
223 public abstract Multibinder<T> permitDuplicates(); in permitDuplicates() method in Multibinder277 private boolean permitDuplicates; field in Multibinder.RealMultibinder304 @Override public Multibinder<T> permitDuplicates() { in permitDuplicates() method in Multibinder.RealMultibinder341 this.permitDuplicates = permitsDuplicates(injector); in initialize()380 if (!permitDuplicates && duplicateBinding != null) { in get()421 return permitDuplicates; in permitsDuplicates()
275 public abstract MapBinder<K, V> permitDuplicates(); in permitDuplicates() method in MapBinder328 private boolean permitDuplicates; field in MapBinder.RealMapBinder351 public MapBinder<K, V> permitDuplicates() { in permitDuplicates() method in MapBinder.RealMapBinder352 entrySetBinder.permitDuplicates(); in permitDuplicates()462 permitDuplicates = entrySetBinder.permitsDuplicates(injector); in initialize()477 if (previous != null && !permitDuplicates) { in initialize()602 return permitDuplicates; in permitsDuplicates()
121 MapBinder.newMapBinder(binder(), String.class, String.class).permitDuplicates(); in testAllBindings()465 multibinder.permitDuplicates(); in testMapBinderMapPermitDuplicateElements()474 multibinder.permitDuplicates(); in testMapBinderMapPermitDuplicateElements()538 multibinder.permitDuplicates(); in testMapBinderMultimap()564 multibinder.permitDuplicates(); in testMapBinderMultimapWithAnotation()586 mapBinder.permitDuplicates(); in testMapBinderMultimapIsUnmodifiable()824 multibinder.permitDuplicates(); in testModuleOverrideAndMapBindingsWithPermitDuplicates()832 multibinder.permitDuplicates(); in testModuleOverrideAndMapBindingsWithPermitDuplicates()840 multibinder.permitDuplicates(); in testModuleOverrideAndMapBindingsWithPermitDuplicates()891 multibinder.permitDuplicates(); in testProviderMultimapDependencyInjection()
432 multibinder.permitDuplicates(); in testMultibinderSetPermitDuplicateElements()448 multibinder.permitDuplicates(); in testMultibinderSetPermitDuplicateCallsToPermitDuplicates()456 multibinder.permitDuplicates(); in testMultibinderSetPermitDuplicateCallsToPermitDuplicates()663 multibinder.permitDuplicates(); in testModuleOverrideAndMultibindingsWithPermitDuplicates()671 multibinder.permitDuplicates(); in testModuleOverrideAndMultibindingsWithPermitDuplicates()679 multibinder.permitDuplicates(); in testModuleOverrideAndMultibindingsWithPermitDuplicates()