Package dagger.spi.model
@CheckReturnValue
@Beta
package dagger.spi.model
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph. The types are shared with the Dagger processor and are exposed to clients of the
Dagger SPI.
Unless otherwise specified, the types/interfaces are only intended to be implemented in this
package (i.e. via @AutoValue
) or by Dagger's processor. This applies to test code as
well, so if you need a fake, please file a feature request instead of implementing it yourself.
-
ClassDescriptionThe association between a
Key
and the way in which instances of the key are provided.A graph of bindings, dependency requests, and components.An edge that represents a subcomponent factory method linking a parent component to a child subcomponent.A component node in the graph.An edge that represents a dependency on a binding.An edge in the binding graph.A node in the binding graph that is either aBinding
or aBindingGraph.MissingBinding
.A node in the binding graph that represents a missing binding for a key in a component.A node in the binding graph.A pluggable visitor forBindingGraph
.Represents the different kinds ofBinding
s that can exist in a binding graph.A path containing a component and all of its ancestor components.Wrapper type for an annotation.Wrapper type for an element.Wrapper type for an executable element.Wrapper type for an element.Represents a type of backend used for compilation.Wrapper type for a type.Wrapper type for a type element.Represents a request for aKey
at an injection point.A builder ofDependencyRequest
s.An object thatBindingGraphPlugin
s can use to report diagnostics while visiting aBindingGraph
.A type and an optional qualifier that is the lookup key for a binding.A builder forKey
s.An object that identifies a multibinding contribution method and the module class that contributes it to the graph.Represents the different kinds oftypes
that may be requested as dependencies for the same key.A representation of aScope
.