Class DefaultEdgeCreator

  • All Implemented Interfaces:
    EdgeCreator

    final class DefaultEdgeCreator
    extends java.lang.Object
    implements EdgeCreator
    Default edge creator.
    • Nested Class Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<Edge> getEdges​(java.lang.Iterable<Binding<?>> bindings)
      Returns edges 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

      • DefaultEdgeCreator

        DefaultEdgeCreator()
    • Method Detail

      • getEdges

        public java.lang.Iterable<Edge> getEdges​(java.lang.Iterable<Binding<?>> bindings)
        Description copied from interface: EdgeCreator
        Returns edges for the given dependency graph.
        Specified by:
        getEdges in interface EdgeCreator