Package | Description |
---|---|
com.google.inject.grapher |
Modifier and Type | Class and Description |
---|---|
class |
ImplementationNode
Node for types that have
Dependency s and are
bound to InterfaceNode s. |
class |
InstanceNode
Node for instances.
|
class |
InterfaceNode
Node for an interface type that has been bound to an implementation class or instance.
|
Modifier and Type | Method and Description |
---|---|
Node |
InstanceNode.copy(NodeId id) |
Node |
InterfaceNode.copy(NodeId id) |
Node |
ImplementationNode.copy(NodeId id) |
abstract Node |
Node.copy(NodeId id)
Returns a copy of the node with a new ID.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Node> |
NodeCreator.getNodes(java.lang.Iterable<Binding<?>> bindings)
Returns nodes for the given dependency graph.
|
java.lang.Iterable<Node> |
DefaultNodeCreator.getNodes(java.lang.Iterable<Binding<?>> bindings) |
java.util.Collection<Node> |
DefaultNodeCreator.NodeVisitor.visit(ConstructorBinding<?> binding)
Visitor for
ConstructorBinding s. |
java.util.Collection<Node> |
DefaultNodeCreator.NodeVisitor.visit(InstanceBinding<?> binding)
Visitor for
InstanceBinding . |
java.util.Collection<Node> |
DefaultNodeCreator.NodeVisitor.visit(ProviderInstanceBinding<?> binding)
Same as
DefaultNodeCreator.NodeVisitor.visit(InstanceBinding) , but the binding edge is
BindingEdgeType#PROVIDER . |
java.util.Collection<Node> |
DefaultNodeCreator.NodeVisitor.visitOther(Binding<?> binding) |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractInjectorGrapher.createNodes(java.lang.Iterable<Node> nodes,
java.util.Map<NodeId,NodeId> aliases) |