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 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 ComponentPath
componentPath()
The component in which the binding is missing.abstract Key
key()
The key for which there is no binding.java.lang.String
toString()
-
-
-
Method Detail
-
componentPath
public abstract ComponentPath componentPath()
The component in which the binding is missing.- Specified by:
componentPath
in interfaceBindingGraph.MaybeBinding
- Specified by:
componentPath
in interfaceBindingGraph.Node
-
key
public abstract Key key()
The key for which there is no binding.- Specified by:
key
in interfaceBindingGraph.MaybeBinding
-
binding
@Deprecated public java.util.Optional<Binding> 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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-