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

Method assertTrue

src/main/java/graphql/Assert.java:140–145  ·  view source on GitHub ↗
(boolean condition, Supplier<String> msg)

Source from the content-addressed store, hash-verified

138 }
139
140 public static void assertTrue(boolean condition, Supplier<String> msg) {
141 if (condition) {
142 return;
143 }
144 throwAssert(msg.get());
145 }
146
147 public static void assertTrue(boolean condition) {
148 if (condition) {

Callers 15

validateQueryMethod · 0.95
introspectMethod · 0.95
diffSchemaMethod · 0.95
introspectMethod · 0.95
gatherOperationDefsMethod · 0.95
calculateMethod · 0.95

Calls 2

throwAssertMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected