Generated by
JDiff

Interface com.google.inject.Binder

Documentation changed from old to new.

Added Methods
void addError(Message) Records an error message to be presented to the user at a later time.
void bindListener(Matcher<TypeLiteral<?>>, TypeListener) Registers a listener for injectable types.
void convertToTypes(Matcher<TypeLiteral<?>>, TypeConverter) Binds a type converter.
MembersInjector<T> getMembersInjector(TypeLiteral<T>) Returns the members injector used to inject dependencies into methods and fields on instances of the given type {@code T}.
MembersInjector<T> getMembersInjector(Class<T>) Returns the members injector used to inject dependencies into methods and fields on instances of the given type {@code T}.
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(TypeLiteral<T>, T) Upon successful creation, the Injector will inject instance fields and methods of the given object.
void requestInjection(Object) Upon successful creation, the Injector will inject instance fields and methods of the given object.
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.
 

Changed Methods
AnnotatedConstantBindingBuilder bindConstant() Documentation changed from old to new.
See the EDSL examples at Binder.
void bindInterceptor(Matcher<Class<?>>, Matcher<Method>, MethodInterceptor[]) Change in signature from (com.google.inject.matcher.Matcher>, com.google.inject.matcher.Matcher, MethodInterceptor[]) to (com.google.inject.matcher.Matcher>, com.google.inject.matcher.Matcher, org.aopalliance.intercept.MethodInterceptor[]).
Documentation changed from old to new.
Binds method interceptor[s] to methods matched by class and method matchers.
AnnotatedBindingBuilder<T> bind(TypeLiteral<T>) Documentation changed from old to new.
See the EDSL examples at Binder.
AnnotatedBindingBuilder<T> bind(Class<T>) Documentation changed from old to new.
See the EDSL examples at Binder.
LinkedBindingBuilder<T> bind(Key<T>) Documentation changed from old to new.
See the EDSL examples at Binder.