Java: Add some qldoc and minor formatting.

This commit is contained in:
Anders Schack-Mulligen
2020-07-06 15:39:20 +02:00
parent e6658c5110
commit 5e9e7feddc

View File

@@ -1,17 +1,25 @@
import java
import SpringHttp
/** The class `org.springframework.web.client.RestTemplate`. */
class SpringRestTemplate extends Class {
SpringRestTemplate() { hasQualifiedName("org.springframework.web.client", "RestTemplate") }
SpringRestTemplate() { this.hasQualifiedName("org.springframework.web.client", "RestTemplate") }
}
/**
* A method declared in `org.springframework.web.client.RestTemplate` that
* returns a `SpringResponseEntity`.
*/
class SpringRestTemplateResponseEntityMethod extends Method {
SpringRestTemplateResponseEntityMethod() {
getDeclaringType() instanceof SpringRestTemplate and
getReturnType() instanceof SpringResponseEntity
this.getDeclaringType() instanceof SpringRestTemplate and
this.getReturnType() instanceof SpringResponseEntity
}
}
/** The interface `org.springframework.web.reactive.function.client.WebClient`. */
class SpringWebClient extends Interface {
SpringWebClient() { hasQualifiedName("org.springframework.web.reactive.function.client", "WebClient")}
}
SpringWebClient() {
this.hasQualifiedName("org.springframework.web.reactive.function.client", "WebClient")
}
}