Package | Description |
---|---|
dagger.model |
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
|
Modifier and Type | Method and Description |
---|---|
ComponentPath |
BindingGraph.Node.componentPath()
The component this node belongs to.
|
ComponentPath |
BindingGraph.MaybeBindingNode.componentPath()
The component that owns the binding, or in which the binding is missing.
|
ComponentPath |
BindingGraph.BindingNode.componentPath()
The component that owns the
BindingGraph.BindingNode.binding() . |
abstract ComponentPath |
BindingGraph.MissingBindingNode.componentPath()
The component in which the binding is missing.
|
ComponentPath |
BindingGraph.ComponentNode.componentPath()
The component represented by this node.
|
static ComponentPath |
ComponentPath.create(java.lang.Iterable<javax.lang.model.element.TypeElement> components)
Returns a new
ComponentPath from components . |
ComponentPath |
ComponentPath.parent()
Returns this path's parent path.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<BindingGraph.ComponentNode> |
BindingGraph.componentNode(ComponentPath component)
Returns the component node for a component.
|
com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> |
BindingGraph.entryPointEdges(ComponentPath component)
Returns the dependency edges for the entry points of a given
component . |