public static interface BindingGraph.DependencyEdge extends BindingGraph.Edge
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
.
Modifier and Type | Method and Description |
---|---|
DependencyRequest |
dependencyRequest()
The dependency request.
|
boolean |
isEntryPoint()
Returns
true if this edge represents an entry point. |
DependencyRequest dependencyRequest()
boolean isEntryPoint()
true
if this edge represents an entry point.