Package | Description |
---|---|
dagger.model |
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
|
dagger.spi |
This package contains the Service Provider interface (SPI) to the
dagger.model APIs at
annotation-processing-time. |
Modifier and Type | Interface and Description |
---|---|
interface |
Binding
The association between a
Key and the way in which instances of the key are provided. |
Modifier and Type | Class and Description |
---|---|
static class |
BindingGraph.MissingBinding
A node in the binding graph that represents a missing binding for a key in a component.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding> |
BindingGraph.entryPointBindings()
Returns the binding or missing binding nodes that directly satisfy entry points.
|
com.google.common.collect.ImmutableSet<BindingGraph.MaybeBinding> |
BindingGraph.requestedMaybeMissingBindings(Binding binding)
Returns the bindings or missing bindings that a given binding directly requests as a
dependency.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> |
BindingGraph.entryPointEdgesDependingOnBinding(BindingGraph.MaybeBinding binding)
Returns the edges for entry points that transitively depend on a binding or missing binding for
a key.
|
com.google.common.collect.ImmutableSet<Binding> |
BindingGraph.requestingBindings(BindingGraph.MaybeBinding binding)
Returns the bindings that directly request a given binding as a dependency.
|
Modifier and Type | Method and Description |
---|---|
void |
DiagnosticReporter.reportBinding(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.MaybeBinding binding,
java.lang.String message)
Reports a diagnostic for a binding or missing binding.
|
void |
DiagnosticReporter.reportBinding(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.MaybeBinding binding,
java.lang.String messageFormat,
java.lang.Object firstArg,
java.lang.Object... moreArgs)
Reports a diagnostic for a binding or missing binding.
|