public interface

NodeIdFactory

com.google.inject.grapher.NodeIdFactory<K>
Known Indirect Subclasses

Class Overview

Factory for abstract identifiers for elements on the graph. Most graph nodes will correspond directly to Keys, but we do this for additional flexibility and because instances do not have separate Keys from the interfaces they are bound to.

Node IDs are treated as opaque values by GraphingVisitor and the other classes in this package.

Summary

Public Methods
abstract K getClassNodeId(Key<?> key)
abstract K getInstanceNodeId(Key<?> key)

Public Methods

public abstract K getClassNodeId (Key<?> key)

public abstract K getInstanceNodeId (Key<?> key)