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