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

Method assertShouldNeverHappen

src/main/java/graphql/Assert.java:108–111  ·  view source on GitHub ↗
(String format, Object... args)

Source from the content-addressed store, hash-verified

106 }
107
108 @Contract("_,_-> fail")
109 public static <T> T assertShouldNeverHappen(String format, Object... args) {
110 return throwAssert("Internal error: should never happen: %s", format(format, args));
111 }
112
113 @Contract("-> fail")
114 public static <T> T assertShouldNeverHappen() {

Callers 15

parseLiteralMethod · 0.95
shortSummaryMapMethod · 0.95
getTypeKindMethod · 0.95
createSelectionSetMethod · 0.95
enterImplMethod · 0.95
getUnmodifiedTypeMethod · 0.95
getPossibleTypeMethod · 0.95
IntrospectionClass · 0.95
getFieldDefinitionMethod · 0.95

Calls 1

throwAssertMethod · 0.95

Tested by 1

parseLiteralMethod · 0.76