Package dagger.spi.model
Interface BindingGraph.MaybeBinding
-
- All Superinterfaces:
BindingGraph.Node
- All Known Subinterfaces:
Binding
- All Known Implementing Classes:
BindingGraph.MissingBinding
- Enclosing class:
- BindingGraph
public static interface BindingGraph.MaybeBinding extends BindingGraph.Node
A node in the binding graph that is either aBindingor aBindingGraph.MissingBinding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<Binding>binding()The binding, or empty if missing.ComponentPathcomponentPath()The component that owns the binding, or in which the binding is missing.Keykey()The key of the binding, or for which there is no binding.
-
-
-
Method Detail
-
componentPath
ComponentPath componentPath()
The component that owns the binding, or in which the binding is missing.- Specified by:
componentPathin interfaceBindingGraph.Node
-
key
Key key()
The key of the binding, or for which there is no binding.
-
binding
java.util.Optional<Binding> binding()
The binding, or empty if missing.
-
-