Package com.google.inject.grapher
Class BindingEdge
- java.lang.Object
-
- com.google.inject.grapher.Edge
-
- com.google.inject.grapher.BindingEdge
-
public class BindingEdge extends Edge
Edge that connects an interface to the type or instance that is bound to implement it.- Since:
- 4.0 (since 2.0 as an interface)
- Author:
- phopkins@gmail.com (Pete Hopkins)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BindingEdge.Type
Classification for what kind of binding this edge represents.
-
Constructor Summary
Constructors Constructor Description BindingEdge(NodeId fromId, NodeId toId, BindingEdge.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Constructor Detail
-
BindingEdge
public BindingEdge(NodeId fromId, NodeId toId, BindingEdge.Type type)
-
-
Method Detail
-
getType
public BindingEdge.Type getType()
-
-