CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)
Search

Predicate assertFail

A trivially failing assertion. That is, assert false or its equivalents.

Import path

import semmle.code.java.frameworks.Assertions
predicate assertFail(BasicBlock bb, ControlFlowNode n)