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 a Binding or a BindingGraph.MissingBinding.
  • Method Summary

    Modifier and Type
    Method
    Description
    The binding, or empty if missing.
    The component that owns the binding, or in which the binding is missing.
    key()
    The key of the binding, or for which there is no binding.
  • Method Details

    • componentPath

      ComponentPath componentPath()
      The component that owns the binding, or in which the binding is missing.
      Specified by:
      componentPath in interface BindingGraph.Node
    • key

      Key key()
      The key of the binding, or for which there is no binding.
    • binding

      Optional<Binding> binding()
      The binding, or empty if missing.