Package dagger.spi.model
Class BindingGraph.MissingBinding
java.lang.Object
dagger.spi.model.BindingGraph.MissingBinding
- All Implemented Interfaces:
BindingGraph.MaybeBinding
,BindingGraph.Node
- Enclosing class:
BindingGraph
public abstract static class BindingGraph.MissingBinding
extends Object
implements BindingGraph.MaybeBinding
A node in the binding graph that represents a missing binding for a key in a component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbinding()
Deprecated.abstract ComponentPath
The component in which the binding is missing.abstract Key
key()
The key for which there is no binding.toString()
-
Constructor Details
-
MissingBinding
public MissingBinding()
-
-
Method Details
-
componentPath
The component in which the binding is missing.- Specified by:
componentPath
in interfaceBindingGraph.MaybeBinding
- Specified by:
componentPath
in interfaceBindingGraph.Node
-
key
The key for which there is no binding.- Specified by:
key
in interfaceBindingGraph.MaybeBinding
-
binding
Deprecated.This always returnsOptional.empty()
.Description copied from interface:BindingGraph.MaybeBinding
The binding, or empty if missing.- Specified by:
binding
in interfaceBindingGraph.MaybeBinding
-
toString
-
Optional.empty()
.