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