com.google.inject.grapher
Class ImplementationNode
java.lang.Object
com.google.inject.grapher.Node
com.google.inject.grapher.ImplementationNode
public class ImplementationNode
- extends Node
Node for types that have Dependencys and are bound to InterfaceNodes. These
nodes will often have fields for Members that are InjectionPoints.
- Author:
- phopkins@gmail.com (Pete Hopkins)
- See Also:
DependencyEdge
ImplementationNode
public ImplementationNode(NodeId id,
Object source,
Collection<Member> members)
getMembers
public Collection<Member> getMembers()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Node
hashCode
public int hashCode()
- Overrides:
hashCode in class Node
toString
public String toString()
- Overrides:
toString in class Object
copy
public Node copy(NodeId id)
- Description copied from class:
Node
- Returns a copy of the node with a new ID.
- Specified by:
copy in class Node
- Parameters:
id - new ID of the node
- Returns:
- copy of the node with a new ID
Copyright © 2006-2014 Google, Inc.. All Rights Reserved.