File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed
java/ql/src/semmle/code/java/frameworks Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 11import java
22import spring.SpringController
3- import spring.SpringWeb
3+ import spring.SpringWeb
Original file line number Diff line number Diff line change @@ -154,12 +154,14 @@ class SpringServletInputAnnotation extends Annotation {
154154 }
155155}
156156
157+ /** An annotation of the type `org.springframework.web.bind.annotation.ModelAttribute`. */
157158class SpringModelAttributeAnnotation extends Annotation {
158159 SpringModelAttributeAnnotation ( ) {
159160 getType ( ) .hasQualifiedName ( "org.springframework.web.bind.annotation" , "ModelAttribute" )
160161 }
161162}
162163
164+ /** A parameter of a `SpringRequestMappingMethod`. */
163165class SpringRequestMappingParameter extends Parameter {
164166 SpringRequestMappingParameter ( ) { getCallable ( ) instanceof SpringRequestMappingMethod }
165167
Original file line number Diff line number Diff line change 1+ /**
2+ * Provides classes for working with Spring classes and interfaces from
3+ * `org.springframework.http`.
4+ */
5+
16import java
27
38/** The class `org.springframework.http.HttpEntity` or an instantiation of it. */
Original file line number Diff line number Diff line change 1+ /**
2+ * Provides classes for working with Spring web requests.
3+ */
4+
15import java
26
37/** An interface for web requests in the Spring framework. */
48class SpringWebRequest extends Class {
59 SpringWebRequest ( ) {
6- hasQualifiedName ( "org.springframework.web.context.request" , "WebRequest" )
10+ this . hasQualifiedName ( "org.springframework.web.context.request" , "WebRequest" )
711 }
812}
913
1014/** An interface for web requests in the Spring framework. */
1115class SpringNativeWebRequest extends Class {
1216 SpringNativeWebRequest ( ) {
13- hasQualifiedName ( "org.springframework.web.context.request" , "NativeWebRequest" )
17+ this . hasQualifiedName ( "org.springframework.web.context.request" , "NativeWebRequest" )
1418 }
15- }
19+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * Provides classes for working with Spring web clients.
3+ */
4+
15import java
26import SpringHttp
37
You can’t perform that action at this time.
0 commit comments