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

Member predicate CompileTimeConstantExpr :: getIntValue

Gets the integer value of this expression, where possible.

Note that this does not handle the following cases:

  • values of type long.
int getIntValue ( )