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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbinding()Deprecated.abstract ComponentPathThe component in which the binding is missing.abstract Keykey()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:
componentPathin interfaceBindingGraph.MaybeBinding- Specified by:
componentPathin interfaceBindingGraph.Node
-
key
The key for which there is no binding.- Specified by:
keyin interfaceBindingGraph.MaybeBinding
-
binding
Deprecated.This always returnsOptional.empty().Description copied from interface:BindingGraph.MaybeBindingThe binding, or empty if missing.- Specified by:
bindingin interfaceBindingGraph.MaybeBinding
-
toString
-
Optional.empty().