We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5db797e commit f575d2fCopy full SHA for f575d2f
java/ql/lib/semmle/code/java/frameworks/spring/SpringController.qll
@@ -156,6 +156,10 @@ class SpringRequestMappingMethod extends SpringControllerMethod {
156
/** Gets the "value" @RequestMapping annotation value, if present. */
157
string getValue() { result = requestMappingAnnotation.getStringValue("value") }
158
159
+
160
161
+ /** Gets the "value" @RequestMapping annotation array string value, if present. */
162
+ string getArrayValue() { result = requestMappingAnnotation.getAStringArrayValue("value") }
163
/** Gets the "method" @RequestMapping annotation value, if present. */
164
string getMethodValue() {
165
result = requestMappingAnnotation.getAnEnumConstantArrayValue("method").getName()
0 commit comments