MCPcopy Create free account
hub / github.com/google/guice / visit

Method visit

core/test/com/google/inject/spi/ElementsTest.java:84–94  ·  view source on GitHub ↗
(Message command)

Source from the content-addressed store, hash-verified

82 },
83 new FailingElementVisitor() {
84 @Override
85 public Void visit(Message command) {
86 assertEquals("Message A 5 C", command.getMessage());
87 assertNull(command.getCause());
88 assertContains(
89 command.getSources().toString(),
90 ElementsTest.class.getName(),
91 getDeclaringSourcePart(ElementsTest.class));
92 assertContains(command.getSource(), getDeclaringSourcePart(ElementsTest.class));
93 return null;
94 }
95 });
96 }
97

Callers

nothing calls this directly

Calls 15

getMethod · 0.95
getInstanceMethod · 0.95
namedMethod · 0.95
anyMethod · 0.95
ofMethod · 0.95
getMethod · 0.95
checkElementsMethod · 0.95
getMemberMethod · 0.95
getDeclaringTypeMethod · 0.95
assertContainsMethod · 0.80
getTypeLiteralMethod · 0.80

Tested by

no test coverage detected