Added Methods |
void addError(Message )
|
Records an error message to be presented to the user at a later time. |
void convertToTypes(Matcher<TypeLiteral<?>>, TypeConverter)
|
Binds a type converter. |
Provider<T> getProvider(Key<T> )
|
Returns the provider used to obtain instances for the given injection key. |
Provider<T> getProvider(Class<T> )
|
Returns the provider used to obtain instances for the given injection type. |
PrivateBinder newPrivateBinder()
|
Creates a new private child environment for bindings and other configuration. |
void requestInjection(Object[] )
|
Upon successful creation, the Injector will inject instance fields
and methods of the given objects. |
Binder skipSources(Class[] )
|
Returns a binder that skips {@code classesToSkip} when identify the
calling code. |
Binder withSource(Object )
|
Returns a binder that uses {@code source} as the reference location for
configuration errors. |