com.google.inject.grapher

Class InstanceNode



  • public class InstanceNode
    extends Node
    Node for instances. Used when a type is bound to an instance.
    Since:
    4.0
    Author:
    bojand@google.com (Bojan Djordjevic)
    • Method Detail

      • getInstance

        public Object getInstance()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Node
      • 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-2015 Google, Inc.. All Rights Reserved.