54da0e3ca924a5040e88a1c067f9f6760a14b20b |
|
20-Feb-2015 |
sameb <sameb@google.com> |
Rework the public API into scanning for additional @Provides-like annotations. Instead of requiring each scanner to explicitly wrap the modules to-be-scanned, we add a Binder.scanModulesForAnnotatedMethods method that takes a scanner, and we scan every installed module. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=86751798
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
c00df28be8bfa45b2bdc8b4d3c101c20a9cbdc12 |
|
01-Jul-2014 |
Sam Berlin <sameb@google.com> |
Automated code cleanups by internal tool. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=69390543
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
31d8fbf9934778160de52837ef311f0d26efbbf8 |
|
09-Dec-2013 |
Sam Berlin <sameb@google.com> |
Fix issue 723 -- minor optimizations to TypeConverterBindingProcessor. Description in the bug describes this best: TypeConverterBindingProcessor has two responsibilities: 1) prepare built-in type converters for primitives, enums, classes, etc. and 2) process TypeConverter bindings and register them with the containing injector. The first responsibility only needs the injector reference, it doesn't need access to the processor's Errors cache. However, the current implementation runs in the context of the processor and creates a number of anonymous classes, and they all contain an implicit reference (this$0) back to the processor. This can lead to some Errors instances being kept alive longer than necessary by these anonymous classes, but not a large number. Changing the prepareBuiltInConverters implementation over to use static methods that pass the injector as an argument fixes this problem by removing the implicit reference to the processor, since the anonymous classes are now created from a static context. Patch by Stuart McCulloch. Thanks Stuart! ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=57906347
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
9e2d95b4393bd41b7eb882705d208124e2a4dd18 |
|
27-Jun-2013 |
Christian Edward Gruber <cgruber@google.com> |
Clean up some formatting (includes some format artifacts from internal changes), and remove executable bit from several files which do not need them.
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
bf2b16c06a5ff7c099fe60f9a46cfb130ce45962 |
|
16-May-2013 |
Christian Edward Gruber <cgruber@google.com> |
Add support for ProvisionListeners to notify on toInstance & constant bindings. --------------------- Manually synced. COMMIT=41634417
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
b7a02b02d81c830d148355c90bc309bcd66fb592 |
|
08-Jul-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
* Remove unused imports * Sort imports * Convert tabs to spaces * Fix the ant no_aop build Revision created by MOE tool push_codebase. MOE_MIGRATION=2532 git-svn-id: https://google-guice.googlecode.com/svn/trunk@1572 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
d9c913acca55023ef5d76a32c3d4a51ee6b420cb |
|
26-Jun-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
switch Guice from manually repackaging Guava to depending on Guava. it's still jarjar'd right now, which is causing a ~400k increase in guice-snapshot.jar. next step is to switch to ProGuard to remove the unnecessary code and cut it back down (even further?!). this will let people build from Guice source and depend directly on Guava code without having to worry about hiding internal/util. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1558 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
132a5db7c643b8f367eb5f09024cf13ea37c9831 |
|
05-Jun-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
issue 78 - provision interception. this only lets you listen to provisions (both before & after provisioning occurs), it does not let you change the return value of the provision. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1551 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
07170cc3f59f08954c97e19f2d3cf165d3a8601a |
|
11-Mar-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
remove phases from BindingProcessor, refactor so that two different classes do the two different bits, with an abstract superclass managing the shared pieces. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1527 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
920731718b6f3505cdfeefeabd789539603de18a |
|
11-Mar-2011 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
fix issue 614 -- admittedly not the prettiest solution, but it works. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1526 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
8b64d455b982d5841480a0247c15d68de0759c91 |
|
13-Dec-2010 |
sberlin <sberlin@d779f126-a31b-0410-b53b-1d3aecad763e> |
Remove InjectorBuilder in favor of methods in Binder. git-svn-id: https://google-guice.googlecode.com/svn/trunk@1457 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|
74d714c1e72bb60706ed9df4d1982971c88c10aa |
|
21-Oct-2010 |
mcculls <mcculls@d779f126-a31b-0410-b53b-1d3aecad763e> |
Issue 552: (step 1) move core code to its own subdirectory git-svn-id: https://google-guice.googlecode.com/svn/trunk@1300 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/core/src/com/google/inject/internal/InjectorShell.java
|