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

Member predicate Annotation::getStringValue

If the value type of the annotation element with the specified name is String, gets the string value used for that element. This includes default values in case no explicit value is specified.

If the element value type is a string array, use getAStringArrayValue.

string getStringValue(string name)