Package com.google.inject.grapher
Class InstanceNode
- java.lang.Object
-
- com.google.inject.grapher.Node
-
- com.google.inject.grapher.InstanceNode
-
public class InstanceNode extends Node
Node for instances. Used when a type is bound to an instance.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description InstanceNode(NodeId id, java.lang.Object source, java.lang.Object instance, java.lang.Iterable<java.lang.reflect.Member> members)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
copy(NodeId id)
Returns a copy of the node with a new ID.boolean
equals(java.lang.Object obj)
java.lang.Object
getInstance()
java.lang.Iterable<java.lang.reflect.Member>
getMembers()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
InstanceNode
public InstanceNode(NodeId id, java.lang.Object source, java.lang.Object instance, java.lang.Iterable<java.lang.reflect.Member> members)
-
-