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

Module Constants

Provdides a module to calculate constant integer and boolean values.

Import path

import semmle.code.java.Constants

Imports

java

Provides all default Java QL imports.

Modules

CalculateConstants

Given predicates defining boolean and integer constants, this module calculates additional boolean and integer constants using only the rules that apply to compile-time constants.

Predicate signatures