| Package | Description |
|---|---|
| com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
|
| com.google.inject.internal |
Guice (sounds like like "juice")
|
| com.google.inject.spi |
Guice service provider interface
|
| Modifier and Type | Method and Description |
|---|---|
<T> Provider |
Binder.getProvider(Dependency
Returns the provider used to obtain instances for the given injection key.
|
| Modifier and Type | Method and Description |
|---|---|
Set |
ExposedBindingImpl.getDependencies()
|
Set |
ProviderMethod.getDependencies()
|
Set |
LinkedBindingImpl.getDependencies()
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Errors.checkForNull(T value, Object
Returns
value if it is non-null allowed to be null.
|
static void |
Errors.formatInjectionPoint(Formatter
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Dependency |
Dependency.get(Key
Returns a new dependency that is not attached to an injection point.
|
Dependency |
DependencyAndSource.getDependency()
Returns the Dependency, if one exists.
|
Dependency |
ProviderLookup.getDependency()
|
| Modifier and Type | Method and Description |
|---|---|
static Set |
Dependency.forInjectionPoints(Set
Returns the dependencies from the given injection points.
|
List |
InjectionPoint.getDependencies()
Returns the dependencies for this injection point.
|
Set |
HasDependencies.getDependencies()
Returns the known dependencies for this type.
|
Set |
ConvertedConstantBinding.getDependencies()
Returns a singleton set containing only the converted key.
|
| Constructor and Description | |
|---|---|
DependencyAndSource(Dependency
|
|
ProviderLookup(Object
|