File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
java/ql/src/semmle/code/java/frameworks/spring Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 11import java
22import SpringHttp
33
4+ /** The class `org.springframework.web.client.RestTemplate`. */
45class SpringRestTemplate extends Class {
5- SpringRestTemplate ( ) { hasQualifiedName ( "org.springframework.web.client" , "RestTemplate" ) }
6+ SpringRestTemplate ( ) { this . hasQualifiedName ( "org.springframework.web.client" , "RestTemplate" ) }
67}
78
9+ /**
10+ * A method declared in `org.springframework.web.client.RestTemplate` that
11+ * returns a `SpringResponseEntity`.
12+ */
813class SpringRestTemplateResponseEntityMethod extends Method {
914 SpringRestTemplateResponseEntityMethod ( ) {
10- getDeclaringType ( ) instanceof SpringRestTemplate and
11- getReturnType ( ) instanceof SpringResponseEntity
15+ this . getDeclaringType ( ) instanceof SpringRestTemplate and
16+ this . getReturnType ( ) instanceof SpringResponseEntity
1217 }
1318}
1419
20+ /** The interface `org.springframework.web.reactive.function.client.WebClient`. */
1521class SpringWebClient extends Interface {
16- SpringWebClient ( ) { hasQualifiedName ( "org.springframework.web.reactive.function.client" , "WebClient" ) }
17- }
22+ SpringWebClient ( ) {
23+ this .hasQualifiedName ( "org.springframework.web.reactive.function.client" , "WebClient" )
24+ }
25+ }
You can’t perform that action at this time.
0 commit comments