mirror of
https://github.com/github/codeql.git
synced 2026-03-04 14:46:48 +01:00
get array string url
This commit is contained in:
@@ -156,6 +156,10 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
|
||||
/** Gets the "value" @RequestMapping annotation value, if present. */
|
||||
string getValue() { result = requestMappingAnnotation.getStringValue("value") }
|
||||
|
||||
|
||||
|
||||
/** Gets the "value" @RequestMapping annotation array string value, if present. */
|
||||
string getArrayValue() { result = requestMappingAnnotation.getAStringArrayValue("value") }
|
||||
/** Gets the "method" @RequestMapping annotation value, if present. */
|
||||
string getMethodValue() {
|
||||
result = requestMappingAnnotation.getAnEnumConstantArrayValue("method").getName()
|
||||
|
||||
Reference in New Issue
Block a user