public class

DependencyEdge

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

Class Overview

Edge from a class or InjectionPoint to the interface node that will satisfy the dependency.

Summary

Public Constructors
DependencyEdge(NodeId fromId, NodeId toId, InjectionPoint injectionPoint)
Public Methods
Edge copy(NodeId fromId, NodeId toId)
Returns a copy of the edge with new node IDs.
boolean equals(Object obj)
InjectionPoint getInjectionPoint()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.google.inject.grapher.Edge
From class java.lang.Object

Public Constructors

public DependencyEdge (NodeId fromId, NodeId toId, InjectionPoint injectionPoint)

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 InjectionPoint getInjectionPoint ()

public int hashCode ()

Since: API Level

public String toString ()

Since: API Level