MCPcopy Create free account
hub / github.com/antlr/codebuff / verify

Method verify

output/java_guava/1.4.13/Verify.java:99–103  ·  view source on GitHub ↗

Ensures that expression is true, throwing a VerifyException with no message otherwise. @throws VerifyException if expression is false

(boolean expression)

Source from the content-addressed store, hash-verified

97 */
98
99 public static void verify(boolean expression) {
100if (!expression) {
101 throw new VerifyException();
102}
103 }
104
105 /**
106 * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with a

Callers 1

verifyNotNullMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected