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

Member predicate Annotation::getValue

Gets the value of the annotation element with the specified name. This includes default values in case no explicit value is specified. For elements with an array value type this might get an ArrayInit instance. To properly handle array values, prefer the predicate getAnArrayValue.

Expr getValue(string name)