MCPcopy Index your code
hub / github.com/graphql-java/graphql-java / Dog

Class Dog

src/test/groovy/graphql/GarfieldSchema.java:30–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 public static class Dog implements Named {
31 private final String name;
32
33
34 private final boolean barks;
35
36 public Dog(String name, boolean barks) {
37 this.name = name;
38 this.barks = barks;
39 }
40
41 public boolean isBarks() {
42 return barks;
43 }
44
45 @Override
46 public String getName() {
47 return name;
48 }
49 }
50
51 public static class Cat implements Named {
52 private final String name;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected