Package dagger.model
Class BindingGraph.MissingBinding
- java.lang.Object
-
- dagger.model.BindingGraph.MissingBinding
-
- All Implemented Interfaces:
BindingGraph.MaybeBinding,BindingGraph.Node
- Enclosing class:
- BindingGraph
public abstract static class BindingGraph.MissingBinding extends java.lang.Object implements BindingGraph.MaybeBinding
A node in the binding graph that represents a missing binding for a key in a component.
-
-
Constructor Summary
Constructors Constructor Description MissingBinding()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Optional<Binding>binding()Deprecated.This always returnsOptional.empty().abstract ComponentPathcomponentPath()The component in which the binding is missing.abstract Keykey()The key for which there is no binding.java.lang.StringtoString()
-
-
-
Method Detail
-
componentPath
public abstract ComponentPath componentPath()
The component in which the binding is missing.- Specified by:
componentPathin interfaceBindingGraph.MaybeBinding- Specified by:
componentPathin interfaceBindingGraph.Node
-
key
public abstract Key key()
The key for which there is no binding.- Specified by:
keyin interfaceBindingGraph.MaybeBinding
-
binding
@Deprecated public java.util.Optional<Binding> binding()
Deprecated.This always returnsOptional.empty().Description copied from interface:BindingGraph.MaybeBindingThe binding, or empty if missing.- Specified by:
bindingin interfaceBindingGraph.MaybeBinding
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-