History log of /external/guice/core/src/com/google/inject/spi/RequireAtInjectOnConstructorsOption.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2bb4771a1835b8a145c857b63bb41ae56e5e6767 18-Sep-2013 Christian Edward Gruber <cgruber@google.com> Exposes ElementSource at getSource() methods.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=50645247
/external/guice/core/src/com/google/inject/spi/RequireAtInjectOnConstructorsOption.java
605bd086d3ecc4290ddfa4cf89fd840d22d1894c 09-Aug-2013 Christian Edward Gruber <cgruber@google.com> Updates the internals of an Element's source to keep track of the Modules that installed it, as well as the complete stack trace leading to the binding. The data is not yet exposed in Element.getSource(), but will be exposed in a future CL.

Technical details:
1) The call stack data is only available for elements created by the binder (excepting Message objects). So, elements that are created at injection time (e.g, JIT bindings, Stage, Injector, Logger, etc.) will not contain these data.
For elements affected, ElementSource.getDeclaringSource() should return what is returned by getSource() currently.
2) In the case of binding builder, similar to the current implementation, ElementSource provides the call stack of builder creation not 'element addition to the binder's elements.'

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=50247441
/external/guice/core/src/com/google/inject/spi/RequireAtInjectOnConstructorsOption.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/RequireAtInjectOnConstructorsOption.java