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

Member predicate Annotation::getAnIntArrayValue

Gets a value of the annotation element with the specified name, which must be declared as an int array or an array of a smaller integral type or char. This includes default values in case no explicit value is specified.

If the annotation element is defined with an array initializer, then the result will be one of the elements of that array. Otherwise, the result will be the single expression used as value.

int getAnIntArrayValue(string name)