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

Member predicate Expr :: isCompileTimeConstant

Holds if this expression is a compile-time constant.

See JLS v8, section 15.28 (Constant Expressions).

predicate isCompileTimeConstant ( )