Home
last modified time | relevance | path

Searched refs:BindingEdge (Results 1 – 5 of 5) sorted by relevance

/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultEdgeCreator.java89 return ImmutableList.<Edge>of(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
91 BindingEdge.Type.CONVERTED_CONSTANT)); in visit()
102 .add(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
104 BindingEdge.Type.NORMAL)) in visit()
115 return ImmutableList.<Edge>of(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
117 BindingEdge.Type.NORMAL)); in visit()
125 return ImmutableList.<Edge>of(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
126 NodeId.newTypeId(binding.getProvidedKey()), BindingEdge.Type.PROVIDER)); in visit()
135 .add(new BindingEdge(NodeId.newTypeId(binding.getKey()), in visit()
136 NodeId.newInstanceId(binding.getKey()), BindingEdge.Type.PROVIDER)) in visit()
[all …]
DBindingEdge.java27 public class BindingEdge extends Edge { class
42 public BindingEdge(NodeId fromId, NodeId toId, Type type) { in BindingEdge() method in BindingEdge
52 if (!(obj instanceof BindingEdge)) { in equals()
55 BindingEdge other = (BindingEdge) obj; in equals()
68 return new BindingEdge(fromId, toId, type); in copy()
DAbstractInjectorGrapher.java131 protected abstract void newBindingEdge(BindingEdge edge) throws IOException; in newBindingEdge()
160 if (edge instanceof BindingEdge) { in createEdges()
161 newBindingEdge((BindingEdge) edge); in createEdges()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DAbstractInjectorGrapherTest.java76 @Override protected void newBindingEdge(BindingEdge edge) { in newBindingEdge()
135 new BindingEdge(iaNode.getId(), aNode.getId(), BindingEdge.Type.NORMAL), in testLinkedAndInstanceBindings()
136 new BindingEdge(iaAnnNode.getId(), aNode.getId(), BindingEdge.Type.NORMAL), in testLinkedAndInstanceBindings()
137 new BindingEdge(stringNode.getId(), stringInstanceNode.getId(), BindingEdge.Type.NORMAL), in testLinkedAndInstanceBindings()
160 new BindingEdge(stringNode.getId(), stringInstanceNode.getId(), BindingEdge.Type.NORMAL), in testProviderBindings()
161 new BindingEdge(iaNode.getId(), a2ProviderNode.getId(), BindingEdge.Type.PROVIDER), in testProviderBindings()
180 new BindingEdge(stringNode.getId(), stringInstanceNode.getId(), BindingEdge.Type.NORMAL)); in testGraphWithGivenRoot()
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java26 import com.google.inject.grapher.BindingEdge;
302 @Override protected void newBindingEdge(BindingEdge edge) { in newBindingEdge()