Add a new method to ThrowingProviderBinder: providing(Class) or providing(TypeLiteral).
This instructs ThrowingProviderBinder to create a proxy implementation of the CheckedProvider interface and delegate it to the constructor of the class in question.  As a bonus, the class it constructs fully participates in Guice AOP.

This is a binary-safe change, but a compile-unsafe change if classes directly kept a reference to SecondaryBinder.  SecondaryBinder now has two generic types (as opposed to one).

Revision created by MOE tool push_codebase.
MOE_MIGRATION=4307
6 files changed