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 |
ComponentPath.childPath(javax.lang.model.element.TypeElement child)
Returns the path from the root component to the
child of the current component. |
ComponentPath |
BindingGraph.Node.componentPath()
The component this node belongs to.
|
ComponentPath |
BindingGraph.MaybeBinding.componentPath()
The component that owns the binding, or in which the binding is missing.
|
abstract ComponentPath |
BindingGraph.MissingBinding.componentPath()
The component in which the binding is missing.
|
ComponentPath |
BindingGraph.ComponentNode.componentPath()
The component represented by this node.
|
ComponentPath |
Binding.componentPath() |
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 . |