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 | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> |
BindingGraph.dependencyEdges()
Returns the dependency edges.
|
com.google.common.collect.ImmutableSetMultimap<DependencyRequest,BindingGraph.DependencyEdge> |
BindingGraph.dependencyEdges(Binding binding)
Returns the dependency edges for the dependencies of a binding.
|
com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> |
BindingGraph.dependencyEdges(DependencyRequest dependencyRequest)
Returns the dependency edges for a dependency request.
|
com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> |
BindingGraph.entryPointEdges()
Returns the dependency edges for all entry points for all components and subcomponents.
|
com.google.common.collect.ImmutableSet<BindingGraph.DependencyEdge> |
BindingGraph.entryPointEdges(ComponentPath component)
Returns the dependency edges for the entry points of a given
component . |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
DiagnosticReporter.reportDependency(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.DependencyEdge dependencyEdge,
java.lang.String message)
Reports a diagnostic for a dependency.
|
void |
DiagnosticReporter.reportDependency(javax.tools.Diagnostic.Kind diagnosticKind,
BindingGraph.DependencyEdge dependencyEdge,
java.lang.String messageFormat,
java.lang.Object firstArg,
java.lang.Object... moreArgs)
Reports a diagnostic for a dependency.
|