protected class ImplementationNodeFactory.GraphvizNodeAdaptor extends Object implements ImplementationNode<String>
ImplementationNode
methods to display
operations on a GraphvizNode
.ImplementationNode.Factory<K,T extends ImplementationNode<K>>
Modifier and Type | Field and Description |
---|---|
protected GraphvizNode |
node |
Constructor and Description |
---|
ImplementationNodeFactory.GraphvizNodeAdaptor(GraphvizNode node) |
Modifier and Type | Method and Description |
---|---|
void |
addMember(Member member) |
void |
setClassKey(Key<?> key)
Sets the
Key that this node is for. |
void |
setInstance(Object instance)
Sets the
Object that's the already-created instance. |
void |
setSource(Object source) |
protected final GraphvizNode node
public ImplementationNodeFactory.GraphvizNodeAdaptor(GraphvizNode node)
public void setClassKey(Key<?> key)
ImplementationNode
Key
that this node is for. Used when the node is
representing a class that Guice will instantiate.setClassKey
in interface ImplementationNode<String>
public void setInstance(Object instance)
ImplementationNode
Object
that's the already-created instance. Used when
this node is represeting the instance instead of a class.setInstance
in interface ImplementationNode<String>
public void setSource(Object source)
setSource
in interface ImplementationNode<String>
public void addMember(Member member)
addMember
in interface ImplementationNode<String>
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.