Package com.google.inject.internal
Class InjectorShell.Builder
java.lang.Object
com.google.inject.internal.InjectorShell.Builder
- Enclosing class:
- InjectorShell
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InjectorImpl.InjectorOptionsprivate InjectorImplprivate PrivateElementsImplnull unless this exists in aprivate environmentprivate Stageprivate Statelazily constructed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddModules(Iterable<? extends Module> modules) (package private) List<InjectorShell>build(Initializer initializer, ProcessedBindingData bindingData, Stopwatch stopwatch, Errors errors) Creates and returns the injector shells for the current modules.(package private) StagegetStage()private StategetState()(package private) Objectlock()(package private) InjectorShell.Builderparent(InjectorImpl parent) (package private) InjectorShell.BuilderprivateElements(PrivateElements privateElements) (package private) InjectorShell.Builder
-
Field Details
-
elements
-
modules
-
state
lazily constructed -
parent
-
options
-
stage
-
privateElements
null unless this exists in aprivate environment
-
-
Constructor Details
-
Builder
Builder()
-
-
Method Details
-
stage
-
parent
-
privateElements
-
addModules
-
getStage
Stage getStage() -
lock
Object lock() -
build
List<InjectorShell> build(Initializer initializer, ProcessedBindingData bindingData, Stopwatch stopwatch, Errors errors) Creates and returns the injector shells for the current modules. Multiple shells will be returned if any modules containprivate environments. The primary injector will be first in the returned list. -
getState
-