Package dagger.spi.model
Interface BindingGraph.DependencyEdge
-
- All Superinterfaces:
BindingGraph.Edge
- Enclosing class:
- BindingGraph
public static interface BindingGraph.DependencyEdge extends BindingGraph.Edge
An edge that represents a dependency on a binding.Because one
DependencyRequest
may represent a dependency from two bindings (e.g., a dependency ofFoo<String>
andFoo<Number>
may have the same key and request element), this class does not overrideObject.equals(Object)
to use value semantics.For entry points, the source node is the
BindingGraph.ComponentNode
that contains the entry point. Otherwise the source node is aBinding
.For dependencies on missing bindings, the target node is a
BindingGraph.MissingBinding
. Otherwise the target node is aBinding
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DependencyRequest
dependencyRequest()
The dependency request.boolean
isEntryPoint()
Returnstrue
if this edge represents an entry point.
-
-
-
Method Detail
-
dependencyRequest
DependencyRequest dependencyRequest()
The dependency request.
-
isEntryPoint
boolean isEntryPoint()
Returnstrue
if this edge represents an entry point.
-
-