public class

BindingEdge

extends Edge
java.lang.Object
   ↳ com.google.inject.grapher.Edge
     ↳ com.google.inject.grapher.BindingEdge

Class Overview

Edge that connects an interface to the type or instance that is bound to implement it.

Summary

Nested Classes
enum BindingEdge.Type Classification for what kind of binding this edge represents. 
Public Constructors
BindingEdge(NodeId fromId, NodeId toId, BindingEdge.Type type)
Public Methods
Edge copy(NodeId fromId, NodeId toId)
Returns a copy of the edge with new node IDs.
boolean equals(Object obj)
BindingEdge.Type getType()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.google.inject.grapher.Edge
From class java.lang.Object

Public Constructors

public BindingEdge (NodeId fromId, NodeId toId, BindingEdge.Type type)

Public Methods

public Edge copy (NodeId fromId, NodeId toId)

Returns a copy of the edge with new node IDs.

Parameters
fromId new ID of the 'from' node
toId new ID of the 'to' node
Returns
  • copy of the edge with the new node IDs

public boolean equals (Object obj)

Since: API Level

public BindingEdge.Type getType ()

public int hashCode ()

Since: API Level

public String toString ()

Since: API Level