0b33461e35fa3a769ce23a9812a80acdc281f62c |
|
20-Feb-2015 |
sameb <sameb@google.com> |
Add a @ProvidesInto{Set,Map,Optional} & MultibindingsScanner that allow users to annotate methods in a Module as elements that can contribute to a Multibinder, MapBinder, or OptionalBinder. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=86801706
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/AllTests.java
|
c34e0185fcf508a890c6cd13bdafeb505c3e9e8a |
|
06-Aug-2014 |
Sam Berlin <sameb@google.com> |
Implement binding deduplication for multibinder & mapbinder in a different way. Instead of relying on Guice binding deduplication (and hacking up RealElement to break the annotation contract to do so, causing weirdness in WeakKeySet & forcing us to care about "rehashing keys"), we instead deduplicate within Multibinder. The downside of this is that toInstance or toProvider(instance) bindings that are deduplicated will remain in the object graph but effectively be unreachable. However, that's a downside I'm willing to live with to remove this hack. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=72570932
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/AllTests.java
|
cc8870bfca3dc44f669322d3f6dabf4a55f025ce |
|
02-Apr-2014 |
Christian Edward Gruber <cgruber@google.com> |
Add OptionalBinderTest into multibindings AllTests. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=63966263
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/AllTests.java
|
08861260a770d93ab35bbfa1bac573ca64e8cd37 |
|
13-May-2008 |
limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> |
AllTests for multi- and map binders git-svn-id: https://google-guice.googlecode.com/svn/trunk@471 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/AllTests.java
|