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

Member predicate Literal::isCompileTimeConstant

Holds if this literal is a compile-time constant expression (as per JLS v8, section 15.28).

predicate isCompileTimeConstant()