MCPcopy Index your code
hub / github.com/google/dagger / visitGraph

Method visitGraph

javatests/dagger/functional/spi/TestPlugin.java:45–56  ·  view source on GitHub ↗
(BindingGraph bindingGraph)

Source from the content-addressed store, hash-verified

43 }
44
45 @Override
46 public List<ValidationItem> visitGraph(BindingGraph bindingGraph) {
47 Properties properties = new Properties();
48 int i = 0;
49 for (ComponentNode node : bindingGraph.componentNodes()) {
50 properties.setProperty(
51 String.format("component[%s]", i++), node.componentPath().toString());
52 }
53
54 write(bindingGraph, properties);
55 return ImmutableList.of();
56 }
57
58 private void write(BindingGraph bindingGraph, Properties properties) {
59 ClassName rootComponentName =

Callers

nothing calls this directly

Calls 6

writeMethod · 0.95
componentNodesMethod · 0.80
componentPathMethod · 0.65
formatMethod · 0.45
toStringMethod · 0.45
ofMethod · 0.45

Tested by

no test coverage detected