Package | Description |
---|---|
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Field and Description |
---|---|
(package private) ModuleSource |
ElementSource.moduleSource
The
source of module creates the element. |
private ModuleSource |
Elements.ModuleInfo.moduleSource |
private ModuleSource |
Elements.RecordingBinder.moduleSource
The current modules stack
|
private ModuleSource |
ModuleSource.parent
The parent
module source . |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<ModuleSource,com.google.common.collect.ImmutableSet<java.lang.Class<? extends java.lang.annotation.Annotation>>> |
BindingSourceRestriction.PermitMapConstruction.modulePermits |
(package private) java.util.Map<ModuleSource,com.google.common.collect.ImmutableSet<java.lang.Class<? extends java.lang.annotation.Annotation>>> |
BindingSourceRestriction.PermitMapConstruction.PermitMapImpl.modulePermits |
Modifier and Type | Method and Description |
---|---|
(package private) ModuleSource |
ModuleSource.createChild(java.lang.Class<?> moduleClass)
Creates and returns a child
ModuleSource corresponding to the module . |
private ModuleSource |
Elements.RecordingBinder.getModuleSource(java.lang.Class<?> module) |
(package private) ModuleSource |
ModuleSource.getParent()
Returns the parent module
source . |
Modifier and Type | Method and Description |
---|---|
(package private) void |
BindingSourceRestriction.PermitMapConstruction.pushModule(java.lang.Class<?> module,
ModuleSource moduleSource)
Called by the Binder prior to entering a module's configure method.
|
(package private) void |
BindingSourceRestriction.PermitMapConstruction.restoreCurrentModulePermits(ModuleSource moduleSource)
Sets the permits on the current module installation path to the permits on the given module
source so that subsequently installed modules may inherit them.
|
Constructor and Description |
---|
ElementSource(ElementSource originalSource,
boolean trustedOriginalSource,
java.lang.Object declaringSource,
ModuleSource moduleSource,
ModuleAnnotatedMethodScanner scanner)
Creates a new from the given parameters.
|
ModuleInfo(ModuleSource moduleSource,
boolean skipScanning) |
ModuleSource(ModuleSource parent,
java.lang.Class<?> moduleClass,
BindingSourceRestriction.PermitMap permitMap)
Creates a new
ModuleSource Object. |