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

Predicate CalculateConstants::calculateBooleanValue

Gets the value of a constant boolean expression.

Import path

import semmle.code.java.Constants
boolean calculateBooleanValue(Expr e)