Class DefaultNodeCreator

  • All Implemented Interfaces:
    NodeCreator

    final class DefaultNodeCreator
    extends java.lang.Object
    implements NodeCreator
    Default node creator.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  DefaultNodeCreator.NodeVisitor
      BindingTargetVisitor that adds nodes to the graph based on the visited Binding.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<Node> getNodes​(java.lang.Iterable<Binding<?>> bindings)
      Returns nodes for the given dependency graph.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultNodeCreator

        DefaultNodeCreator()
    • Method Detail

      • getNodes

        public java.lang.Iterable<Node> getNodes​(java.lang.Iterable<Binding<?>> bindings)
        Description copied from interface: NodeCreator
        Returns nodes for the given dependency graph.
        Specified by:
        getNodes in interface NodeCreator