History log of /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.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/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.java
5b257347fc51038043060a2f8dbc16c3973a5ab4 28-Feb-2009 limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> Misc small changes.
Fix for bug 341, and tweaking assisted inject Javadoc.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@872 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.java
2d633cd04273a80a31c920f24fc1d3c5f1f8e7df 09-Dec-2008 limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> Big API change to AssistedInject Deluxe.

I unified the API - both old and new use the same API, and the code detects which to use (by looking for the presence or absence of an @AssistedInject annotation)

This means that:
- Upgrading from new to old is extremely easy
- Unified Javadocs for old and new. The new Javadocs just have a section pointing out the differences when @AssistedInject is used instead of @Assisted
- It's a little clumsier to make sure you're getting the right one. This is mitigated by some new checks on the factory interface to ensure the old constructor isn't used with the newer factories.

Also applying local variable naming fixes to InjectionPoint, as pointed out by Brian Harris.


git-svn-id: https://google-guice.googlecode.com/svn/trunk@723 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.java
03c8d26382eaadbb4f32e17a6c976ad24c3247e4 02-Dec-2008 limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> AssistedInject Deluxe.

This introduces a new static utility class, Factories, that can be used to build factories. It behaves very similarly to FactoryProvider, with a few minor differences:
- matching is by @Assisted("name") rather than position
- AOP is supported
- factory params can be injected anywhere - as parameters, Providers, method arguments, indirect dependencies, etc.
- cglib is used internally instead of Proxy. This allows the factory to be injected directly

git-svn-id: https://google-guice.googlecode.com/svn/trunk@714 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.java
e451ef79c95a19a0e8044567f133f0ad1a40f4bc 19-Dec-2007 limpbizkit <limpbizkit@d779f126-a31b-0410-b53b-1d3aecad763e> Adding AssistedInject and ThrowingProviders as Guice extensions.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@391 d779f126-a31b-0410-b53b-1d3aecad763e
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/Assisted.java