public class

InstanceNode

extends Node
java.lang.Object
   ↳ com.google.inject.grapher.Node
     ↳ com.google.inject.grapher.InstanceNode

Class Overview

Node for instances. Used when a type is bound to an instance.

Summary

Public Constructors
InstanceNode(NodeId id, Object source, Object instance, Iterable<Member> members)
Public Methods
Node copy(NodeId id)
Returns a copy of the node with a new ID.
boolean equals(Object obj)
Object getInstance()
Iterable<Member> getMembers()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.google.inject.grapher.Node
From class java.lang.Object

Public Constructors

public InstanceNode (NodeId id, Object source, Object instance, Iterable<Member> members)

Public Methods

public Node copy (NodeId id)

Returns a copy of the node with a new ID.

Parameters
id new ID of the node
Returns
  • copy of the node with a new ID

public boolean equals (Object obj)

Since: API Level

public Object getInstance ()

public Iterable<Member> getMembers ()

public int hashCode ()

Since: API Level

public String toString ()

Since: API Level