| Package | Description |
|---|---|
| com.google.inject.internal |
Guice (sounds like like "juice")
|
| com.google.inject.spi |
Guice service provider interface
|
| Modifier and Type | Method and Description |
|---|---|
Set<Dependency<?>> |
ProviderMethod.getDependencies() |
Set<Dependency<?>> |
ExposedBindingImpl.getDependencies() |
Set<Dependency<?>> |
LinkedBindingImpl.getDependencies() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Errors.checkForNull(T value,
Object source,
Dependency<?> dependency)
Returns
value if it is non-null allowed to be null. |
static void |
Errors.formatInjectionPoint(Formatter formatter,
Dependency<?> dependency,
InjectionPoint injectionPoint) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Dependency<T> |
Dependency.get(Key<T> key)
Returns a new dependency that is not attached to an injection point.
|
Dependency<?> |
DependencyAndSource.getDependency()
Returns the Dependency, if one exists.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Dependency<?>> |
Dependency.forInjectionPoints(Set<InjectionPoint> injectionPoints)
Returns the dependencies from the given injection points.
|
List<Dependency<?>> |
InjectionPoint.getDependencies()
Returns the dependencies for this injection point.
|
Set<Dependency<?>> |
HasDependencies.getDependencies()
Returns the known dependencies for this type.
|
Set<Dependency<?>> |
ConvertedConstantBinding.getDependencies()
Returns a singleton set containing only the converted key.
|
| Constructor and Description |
|---|
DependencyAndSource(Dependency<?> dependency,
Object source) |
Copyright © 2006-2014 Google, Inc.. All Rights Reserved.