| Package | Description |
|---|---|
| com.google.inject.grapher |
| Modifier and Type | Class and Description |
|---|---|
class |
ImplementationNode
Node for types that have
Dependencys and are
bound to InterfaceNodes. |
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 |
|---|---|
abstract Node |
Node.copy(NodeId id)
Returns a copy of the node with a new ID.
|
Node |
InterfaceNode.copy(NodeId id) |
Node |
InstanceNode.copy(NodeId id) |
Node |
ImplementationNode.copy(NodeId 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
ConstructorBindings. |
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) |