K - The type for node IDs.T - The DependencyEdge sub-type that this factory provides.public static interface DependencyEdge.Factory<K,T extends DependencyEdge<K>>
DependencyEdges. Renderer implementations
will need to provide an implementation for this.| Modifier and Type | Method and Description |
|---|---|
T |
newDependencyEdge(K fromId,
InjectionPoint fromPoint,
K toId)
Creates a new
DependencyEdge and adds it to the graph. |
T newDependencyEdge(K fromId, @Nullable InjectionPoint fromPoint, K toId)
DependencyEdge and adds it to the graph.fromId - The ID for the class or instance node that has the
dependency.fromPoint - The point where the dependency will be
@Injected.toId - The ID for the interface node that satisfies the dependency.Copyright © 2006-2012 Google, Inc.. All Rights Reserved.