| Package | Description | 
|---|---|
| com.google.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. | 
| com.google.inject.internal | Guice (sounds like "juice") | 
| com.google.inject.multibindings | Extension for binding multiple instances in a collection; this extension requires  guice-multibindings.jar. | 
| com.google.inject.spi | Guice service provider interface | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Binding<T>A mapping from a key (type and optional annotation) to the strategy for getting instances of the
 type. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BindingImpl<T> | 
| class  | ExposedBindingImpl<T> | 
| class  | LinkedBindingImpl<T> | 
| class  | PrivateElementsImpl | 
| Modifier and Type | Field and Description | 
|---|---|
| protected List<Element> | AbstractBindingBuilder. elements | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Element> | PrivateElementsImpl. getElements() | 
| List<Element> | PrivateElementsImpl. getElementsMutable() | 
| Constructor and Description | 
|---|
| AbstractBindingBuilder(Binder binder,
                      List<Element> elements,
                      Object source,
                      Key<T> key) | 
| BindingBuilder(Binder binder,
              List<Element> elements,
              Object source,
              Key<T> key) | 
| ConstantBindingBuilderImpl(Binder binder,
                          List<Element> elements,
                          Object source) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | MapBinderBinding. containsElement(Element element)Returns true if this MapBinder contains the given Element in order to build the map or uses the
 given Element in order to support building and injecting the map. | 
| boolean | MultibinderBinding. containsElement(Element element)Returns true if this Multibinder uses the given Element. | 
| boolean | OptionalBinderBinding. containsElement(Element element)Returns true if this OptionalBinder contains the given Element in order to build the optional
 binding or uses the given Element in order to support building and injecting its data. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Map.Entry<?,Binding<?>>> | MapBinderBinding. getEntries(Iterable<? extends Element> elements)Similar to  MapBinderBinding.getEntries(), but can be used on a MapBinderBinding retrieved fromElements.getElements(com.google.inject.Module...). | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ConstructorBinding<T>A binding to the constructor of a concrete clss. | 
| interface  | ConvertedConstantBinding<T>A binding created from converting a bound instance to a new type. | 
| interface  | ExposedBinding<T>A binding to a key exposed from an enclosed private environment. | 
| interface  | InstanceBinding<T>A binding to a single instance. | 
| interface  | LinkedKeyBinding<T>A binding to a linked key. | 
| interface  | PrivateElementsA private collection of elements that are hidden from the enclosing injector or module by
 default. | 
| interface  | ProviderBinding<T extends Provider<?>>A binding to a  Providerthat delegates to the binding for the provided type. | 
| interface  | ProviderInstanceBinding<T>A binding to a provider instance. | 
| interface  | ProviderKeyBinding<T>A binding to a provider key. | 
| interface  | UntargettedBinding<T>An untargetted binding. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DisableCircularProxiesOptionA request to disable circular proxies. | 
| class  | InjectionRequest<T>A request to inject the instance fields and methods of an instance. | 
| class  | InterceptorBindingRegistration of interceptors for matching methods of matching classes. | 
| class  | MembersInjectorLookup<T>A lookup of the members injector for a type. | 
| class  | MessageAn error message and the context in which it occured. | 
| class  | ModuleAnnotatedMethodScannerBindingRepresents a call to  Binder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)in a module. | 
| class  | ProviderLookup<T>A lookup of the provider for a type. | 
| class  | ProvisionListenerBindingBinds keys (picked using a Matcher) to a provision listener. | 
| class  | RequireAtInjectOnConstructorsOptionA request to require explicit @ Injectannotations on constructors. | 
| class  | RequireExactBindingAnnotationsOptionA request to require exact binding annotations. | 
| class  | RequireExplicitBindingsOptionA request to require explicit bindings. | 
| class  | ScopeBindingRegistration of a scope annotation with the scope that implements it. | 
| class  | StaticInjectionRequestA request to inject the static fields and methods of a type. | 
| class  | TypeConverterBindingRegistration of type converters for matching target types. | 
| class  | TypeListenerBindingBinds types (picked using a Matcher) to an type listener. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Element> | PrivateElements. getElements()Returns the configuration information in this private environment. | 
| static List<Element> | Elements. getElements(Iterable<? extends Module> modules)Records the elements executed by  modules. | 
| static List<Element> | Elements. getElements(Module... modules)Records the elements executed by  modules. | 
| static List<Element> | Elements. getElements(Stage stage,
           Iterable<? extends Module> modules)Records the elements executed by  modules. | 
| static List<Element> | Elements. getElements(Stage stage,
           Module... modules)Records the elements executed by  modules. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected V | DefaultElementVisitor. visitOther(Element element)Default visit implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Module | Elements. getModule(Iterable<? extends Element> elements)Returns the module composed of  elements. | 
Copyright © 2006–2018 Google, Inc.. All rights reserved.