Uses of Interface
dagger.model.Binding
Package
Description
This package contains the APIs that are core to Dagger's internal model of bindings and the
binding graph.
-
Uses of Binding in dagger.model
Modifier and TypeMethodDescriptionBinding.binding()
Deprecated.BindingGraph.MaybeBinding.binding()
The binding, or empty if missing.BindingGraph.MissingBinding.binding()
Deprecated.This always returnsOptional.empty()
.com.google.common.collect.ImmutableSet<Binding>
BindingGraph.bindings()
Returns the bindings.com.google.common.collect.ImmutableSet<Binding>
Returns the bindings for a key.com.google.common.collect.ImmutableSet<Binding>
BindingGraph.requestedBindings
(Binding binding) Returns the bindings that a given binding directly requests as a dependency.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 TypeMethodDescriptioncom.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<Binding>
BindingGraph.requestedBindings
(Binding binding) Returns the bindings that a given binding directly requests as a dependency.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.
Optional.of(this)
.