delete tomcat-embed-core stub, update the ServletGetMethod class

This commit is contained in:
haby0
2021-04-15 17:40:51 +08:00
parent 5d05e4d224
commit 583d0889e2
11 changed files with 1 additions and 421 deletions

View File

@@ -21,7 +21,7 @@ abstract class RequestGetMethod extends Method {
/** Override method of `doGet` of `Servlet` subclass. */
private class ServletGetMethod extends RequestGetMethod {
ServletGetMethod() { isServletRequestMethod(this) and m.getName() = "doGet" }
ServletGetMethod() { isServletRequestMethod(this) and this.getName() = "doGet" }
}
/** The method of SpringController class processing `get` request. */

View File

@@ -361,13 +361,3 @@ predicate isDoFilterMethod(Method m) {
m.getParameter(1).getType() instanceof ServletResponse and
m.getParameter(2).getType() instanceof FilterChain
}
/** Holds if `m` is a method of some override of `HttpServlet.doGet`. */
predicate isGetServletMethod(Method m) {
isServletRequestMethod(m) and m.getName() = "doGet"
}
/** The `doGet` method of `HttpServlet`. */
class DoGetServletMethod extends Method {
DoGetServletMethod() { isGetServletMethod(this) }
}