HomeSort by relevance Sort by last modified time
    Searched refs:permitDuplicates (Results 1 - 4 of 4) sorted by null

  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Multibinder.java 223 public abstract Multibinder<T> permitDuplicates();
277 private boolean permitDuplicates;
304 @Override public Multibinder<T> permitDuplicates() {
341 this.permitDuplicates = permitsDuplicates(injector);
380 if (!permitDuplicates && duplicateBinding != null) {
421 return permitDuplicates;
506 * if only one of a multibinder's users remember to call permitDuplicates(), they're still
MapBinder.java 123 * once, map injection will fail. However, use {@link #permitDuplicates()} in
275 public abstract MapBinder<K, V> permitDuplicates();
328 private boolean permitDuplicates;
351 public MapBinder<K, V> permitDuplicates() {
352 entrySetBinder.permitDuplicates();
462 permitDuplicates = entrySetBinder.permitsDuplicates(injector);
477 if (previous != null && !permitDuplicates) {
602 return permitDuplicates;
639 // permitDuplicates was called.
    [all...]
  /external/guice/extensions/multibindings/test/com/google/inject/multibindings/
MapBinderTest.java 121 MapBinder.newMapBinder(binder(), String.class, String.class).permitDuplicates();
465 multibinder.permitDuplicates();
474 multibinder.permitDuplicates();
538 multibinder.permitDuplicates();
564 multibinder.permitDuplicates();
586 mapBinder.permitDuplicates();
    [all...]
MultibinderTest.java 432 multibinder.permitDuplicates();
448 multibinder.permitDuplicates();
456 multibinder.permitDuplicates();
663 multibinder.permitDuplicates();
671 multibinder.permitDuplicates();
679 multibinder.permitDuplicates();
    [all...]

Completed in 76 milliseconds