Package | Description |
---|---|
com.google.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject-3.0.jar . |
com.google.inject.grapher | |
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<?>> |
AssistedMethod.getDependencies()
Returns all non-assisted dependencies required to construct and inject
the implementation.
|
Set<Dependency<?>> |
FactoryProvider.getDependencies()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected D |
GraphingVisitor.newDependencyEdge(K nodeId,
InjectionPoint injectionPoint,
Dependency<?> dependency)
Creates a new
DependencyEdge from the given node to a
Dependency . |
Modifier and Type | Method and Description |
---|---|
protected Collection<D> |
GraphingVisitor.newDependencyEdges(K nodeId,
M node,
Collection<Dependency<?>> dependencies)
Adds
DependencyEdge s to the graph for each of the provided
Dependency s. |
Modifier and Type | Method and Description |
---|---|
Set<Dependency<?>> |
ProviderMethod.getDependencies() |
Set<Dependency<?>> |
LinkedBindingImpl.getDependencies() |
Set<Dependency<?>> |
ExposedBindingImpl.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.
|
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.
|
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.