CodeQL library for Java
codeql/java-all 0.6.2 ( 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 ( )