assert with constants where possible by kilink · Pull Request #4153 · graphql-java/graphql-java

@kilink

Lots of places were asserting with a supplier of a constant String; switch to just using the
assert methods that take the constant String directly. While the lambdas were cached / inlined,
we can avoid even the small overhead of the lambda existing and needing the JIT to inline.

bbakerman

@kilink kilink deleted the assert-constant-string branch

November 2, 2025 21:10