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

Member predicate Annotation::getIntValue

If the value type of the annotation element with the specified name is int or a smaller integral type or char, gets the int value used for that element. This includes default values in case no explicit value is specified.

If the element value type is an int array or an array of a smaller integral type or char, use getAnIntArrayValue.

int getIntValue(string name)