com.google.inject.grapher.graphviz
Class ImplementationNodeFactory.GraphvizNodeAdaptor
java.lang.Object
com.google.inject.grapher.graphviz.ImplementationNodeFactory.GraphvizNodeAdaptor
- All Implemented Interfaces:
- ImplementationNode<java.lang.String>
- Enclosing class:
- ImplementationNodeFactory
protected class ImplementationNodeFactory.GraphvizNodeAdaptor
- extends java.lang.Object
- implements ImplementationNode<java.lang.String>
Adaptor class that converts ImplementationNode methods to display
operations on a GraphvizNode.
|
Method Summary |
void |
addMember(java.lang.reflect.Member member)
|
void |
setClassKey(Key<?> key)
Sets the Key that this node is for. |
void |
setInstance(java.lang.Object instance)
Sets the Object that's the already-created instance. |
void |
setSource(java.lang.Object source)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
protected final GraphvizNode node
ImplementationNodeFactory.GraphvizNodeAdaptor
public ImplementationNodeFactory.GraphvizNodeAdaptor(GraphvizNode node)
setClassKey
public void setClassKey(Key<?> key)
- Description copied from interface:
ImplementationNode
- Sets the
Key that this node is for. Used when the node is
representing a class that Guice will instantiate.
- Specified by:
setClassKey in interface ImplementationNode<java.lang.String>
setInstance
public void setInstance(java.lang.Object instance)
- Description copied from interface:
ImplementationNode
- Sets the
Object that's the already-created instance. Used when
this node is represeting the instance instead of a class.
- Specified by:
setInstance in interface ImplementationNode<java.lang.String>
setSource
public void setSource(java.lang.Object source)
- Specified by:
setSource in interface ImplementationNode<java.lang.String>
addMember
public void addMember(java.lang.reflect.Member member)
- Specified by:
addMember in interface ImplementationNode<java.lang.String>
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.