Package dagger.spi.model
Interface BindingGraph.DependencyEdge
- All Superinterfaces:
BindingGraph.Edge
- Enclosing class:
BindingGraph
An edge that represents a dependency on a binding.
Because one DependencyRequest
may represent a dependency from two bindings (e.g., a
dependency of Foo<String>
and Foo<Number>
may have the same key and request
element), this class does not override Object.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 a Binding
.
For dependencies on missing bindings, the target node is a BindingGraph.MissingBinding
. Otherwise
the target node is a Binding
.
-
Method Summary
Modifier and TypeMethodDescriptionThe dependency request.boolean
Returnstrue
if this edge represents an entry point.
-
Method Details
-
dependencyRequest
DependencyRequest dependencyRequest()The dependency request. -
isEntryPoint
boolean isEntryPoint()Returnstrue
if this edge represents an entry point.
-