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

Member predicate ConstantField::getConstantValue

Gets the constant value assigned to the field.

Note: although this value is constant, we may not be able to statically determine the value.

ConstantExpr getConstantValue()