646e1742c047dc9a768f2bc065b33e9b5ab49006 |
|
24-Apr-2015 |
cgdecker <cgdecker@google.com> |
Add more missing @since 4.0 and remove references to *-3.0.jar in extensions' package-info.java files. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=92005346
/external/guice/core/src/com/google/inject/spi/ElementVisitor.java
|
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/spi/ElementVisitor.java
|
e39158525475eca7971966c667494d240be7e242 |
|
16-May-2013 |
Christian Edward Gruber <cgruber@google.com> |
Change Key so that it upgrades Annotation classes where all methods have default values into an instance of the Annotation with the defaults as values, so that: @Retention(RUNTIME) @BindingAnnotation @interface AllDefaults { int hasDefault() default 1; } @AllDefaults class Foo {} void testKey() { assertEquals(Key.get(Foo.class, Foo.class.getAnnotation(AllDefaults.class)), Key.get(Foo.class, AllDefaults.class)); } Also adds an option to "require exact binding annotations", which disables the error-prone fallback built into Guice whereby a binding for @Named Foo can substitute for @Named("foo") Foo if the latter doesn't exist but the former does. ----------------- Manually Synced. COMMIT=45600016
/external/guice/core/src/com/google/inject/spi/ElementVisitor.java
|
c756777526309dc6c9ff2b5df80a8f811d390c09 |
|
01-Jun-2012 |
Sam Berlin <sameb@google.com> |
Add Binder.requireAtInjectOnConstructors, to force Guice to require @Inject annotations on constructors. Revision created by MOE tool push_codebase. MOE_MIGRATION=4906
/external/guice/core/src/com/google/inject/spi/ElementVisitor.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/spi/ElementVisitor.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/spi/ElementVisitor.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/spi/ElementVisitor.java
|