Generated by
JDiff

Interface com.google.inject.Injector

Changed Methods
List<Binding<T>> findBindingsByType(TypeLiteral<T>) Changed from non-abstract to abstract. Returns all explicit bindings for {@code type}.
Map<Key<?>, Binding<?>> getAllBindings() Changed from non-abstract to abstract. Returns a snapshot of this injector's bindings, both explicit and just-in-time.
Map<Key<?>, Binding<?>> getBindings() Changed from non-abstract to abstract. Returns this injector's explicit bindings.
Binding<T> getExistingBinding(Key<T>) Changed from non-abstract to abstract. Returns the binding if it already exists, or null if does not exist.
Injector getParent() Changed from non-abstract to abstract. Returns this injector's parent, or {@code null} if this is a top-level injector.
Map<Class<Annotation>, Scope> getScopeBindings() Changed from non-abstract to abstract. Returns a map containing all scopes in the injector.
Set<TypeConverterBinding> getTypeConverterBindings() Changed from non-abstract to abstract. Returns a set containing all type converter bindings in the injector.
void injectMembers(Object) Changed from non-abstract to abstract. Injects dependencies into the fields and methods of {@code instance}.
Injector createChildInjector(Module[]) Changed from non-abstract to abstract. Returns a new injector that inherits all state from this injector.
Injector createChildInjector(Iterable<Module>) Changed from non-abstract to abstract. Returns a new injector that inherits all state from this injector.
Binding<T> getBinding(Key<T>) Changed from non-abstract to abstract. Returns the binding for the given injection key.
Binding<T> getBinding(Class<T>) Changed from non-abstract to abstract. Returns the binding for the given type.
T getInstance(Key<T>) Changed from non-abstract to abstract. Returns the appropriate instance for the given injection key; equivalent to {@code getProvider(key).get()}.
T getInstance(Class<T>) Changed from non-abstract to abstract. Returns the appropriate instance for the given injection type; equivalent to {@code getProvider(type).get()}.
MembersInjector<T> getMembersInjector(TypeLiteral<T>) Changed from non-abstract to abstract. 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>) Changed from non-abstract to abstract. 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>) Changed from non-abstract to abstract. Returns the provider used to obtain instances for the given injection key.
Provider<T> getProvider(Class<T>) Changed from non-abstract to abstract. Returns the provider used to obtain instances for the given type.