@@ -8,7 +8,7 @@ import semmle.code.java.Type
88 * The interface `javax.servlet.ServletRequest` or
99 * `javax.servlet.http.HttpServletRequest`.
1010 */
11- library class ServletRequest extends RefType {
11+ class ServletRequest extends RefType {
1212 ServletRequest ( ) {
1313 this .hasQualifiedName ( "javax.servlet" , "ServletRequest" ) or
1414 this instanceof HttpServletRequest
@@ -18,15 +18,15 @@ library class ServletRequest extends RefType {
1818/**
1919 * The interface `javax.servlet.http.HttpServletRequest`.
2020 */
21- library class HttpServletRequest extends RefType {
21+ class HttpServletRequest extends RefType {
2222 HttpServletRequest ( ) { this .hasQualifiedName ( "javax.servlet.http" , "HttpServletRequest" ) }
2323}
2424
2525/**
2626 * The method `getParameter(String)` or `getParameterValues(String)`
2727 * declared in `javax.servlet.ServletRequest`.
2828 */
29- library class ServletRequestGetParameterMethod extends Method {
29+ class ServletRequestGetParameterMethod extends Method {
3030 ServletRequestGetParameterMethod ( ) {
3131 this .getDeclaringType ( ) instanceof ServletRequest and
3232 (
@@ -41,7 +41,7 @@ library class ServletRequestGetParameterMethod extends Method {
4141/**
4242 * The method `getParameterNames()` declared in `javax.servlet.ServletRequest`.
4343 */
44- library class ServletRequestGetParameterNamesMethod extends Method {
44+ class ServletRequestGetParameterNamesMethod extends Method {
4545 ServletRequestGetParameterNamesMethod ( ) {
4646 this .getDeclaringType ( ) instanceof ServletRequest and
4747 this .hasName ( "getParameterNames" ) and
@@ -52,7 +52,7 @@ library class ServletRequestGetParameterNamesMethod extends Method {
5252/**
5353 * The method `getParameterMap()` declared in `javax.servlet.ServletRequest`.
5454 */
55- library class ServletRequestGetParameterMapMethod extends Method {
55+ class ServletRequestGetParameterMapMethod extends Method {
5656 ServletRequestGetParameterMapMethod ( ) {
5757 this .getDeclaringType ( ) instanceof ServletRequest and
5858 this .hasName ( "getParameterMap" ) and
@@ -63,7 +63,7 @@ library class ServletRequestGetParameterMapMethod extends Method {
6363/**
6464 * The method `getQueryString()` declared in `javax.servlet.http.HttpServletRequest`.
6565 */
66- library class HttpServletRequestGetQueryStringMethod extends Method {
66+ class HttpServletRequestGetQueryStringMethod extends Method {
6767 HttpServletRequestGetQueryStringMethod ( ) {
6868 this .getDeclaringType ( ) instanceof HttpServletRequest and
6969 this .hasName ( "getQueryString" ) and
@@ -85,7 +85,7 @@ class HttpServletRequestGetPathMethod extends Method {
8585/**
8686 * The method `getHeader(String)` declared in `javax.servlet.http.HttpServletRequest`.
8787 */
88- library class HttpServletRequestGetHeaderMethod extends Method {
88+ class HttpServletRequestGetHeaderMethod extends Method {
8989 HttpServletRequestGetHeaderMethod ( ) {
9090 this .getDeclaringType ( ) instanceof HttpServletRequest and
9191 this .hasName ( "getHeader" ) and
@@ -97,7 +97,7 @@ library class HttpServletRequestGetHeaderMethod extends Method {
9797/**
9898 * The method `getHeaders(String)` declared in `javax.servlet.http.HttpServletRequest`.
9999 */
100- library class HttpServletRequestGetHeadersMethod extends Method {
100+ class HttpServletRequestGetHeadersMethod extends Method {
101101 HttpServletRequestGetHeadersMethod ( ) {
102102 this .getDeclaringType ( ) instanceof HttpServletRequest and
103103 this .hasName ( "getHeaders" ) and
@@ -109,7 +109,7 @@ library class HttpServletRequestGetHeadersMethod extends Method {
109109/**
110110 * The method `getHeaderNames()` declared in `javax.servlet.http.HttpServletRequest`.
111111 */
112- library class HttpServletRequestGetHeaderNamesMethod extends Method {
112+ class HttpServletRequestGetHeaderNamesMethod extends Method {
113113 HttpServletRequestGetHeaderNamesMethod ( ) {
114114 this .getDeclaringType ( ) instanceof HttpServletRequest and
115115 this .hasName ( "getHeaderNames" ) and
@@ -145,7 +145,7 @@ class HttpServletRequestGetRequestURIMethod extends Method {
145145/**
146146 * The method `getRemoteUser()` declared in `javax.servlet.http.HttpServletRequest`.
147147 */
148- library class HttpServletRequestGetRemoteUserMethod extends Method {
148+ class HttpServletRequestGetRemoteUserMethod extends Method {
149149 HttpServletRequestGetRemoteUserMethod ( ) {
150150 this .getDeclaringType ( ) instanceof HttpServletRequest and
151151 this .hasName ( "getRemoteUser" ) and
@@ -156,7 +156,7 @@ library class HttpServletRequestGetRemoteUserMethod extends Method {
156156/**
157157 * The method `getInputStream()` or `getReader()` declared in `javax.servlet.ServletRequest`.
158158 */
159- library class ServletRequestGetBodyMethod extends Method {
159+ class ServletRequestGetBodyMethod extends Method {
160160 ServletRequestGetBodyMethod ( ) {
161161 this .getDeclaringType ( ) instanceof ServletRequest and
162162 ( this .hasName ( "getInputStream" ) or this .hasName ( "getReader" ) )
@@ -239,14 +239,14 @@ class ServletResponseGetOutputStreamMethod extends Method {
239239}
240240
241241/** The class `javax.servlet.http.Cookie`. */
242- library class TypeCookie extends Class {
242+ class TypeCookie extends Class {
243243 TypeCookie ( ) { this .hasQualifiedName ( "javax.servlet.http" , "Cookie" ) }
244244}
245245
246246/**
247247 * The method `getValue(String)` declared in `javax.servlet.http.Cookie`.
248248 */
249- library class CookieGetValueMethod extends Method {
249+ class CookieGetValueMethod extends Method {
250250 CookieGetValueMethod ( ) {
251251 this .getDeclaringType ( ) instanceof TypeCookie and
252252 this .hasName ( "getValue" ) and
@@ -257,7 +257,7 @@ library class CookieGetValueMethod extends Method {
257257/**
258258 * The method `getName()` declared in `javax.servlet.http.Cookie`.
259259 */
260- library class CookieGetNameMethod extends Method {
260+ class CookieGetNameMethod extends Method {
261261 CookieGetNameMethod ( ) {
262262 this .getDeclaringType ( ) instanceof TypeCookie and
263263 this .hasName ( "getName" ) and
@@ -269,7 +269,7 @@ library class CookieGetNameMethod extends Method {
269269/**
270270 * The method `getComment()` declared in `javax.servlet.http.Cookie`.
271271 */
272- library class CookieGetCommentMethod extends Method {
272+ class CookieGetCommentMethod extends Method {
273273 CookieGetCommentMethod ( ) {
274274 this .getDeclaringType ( ) instanceof TypeCookie and
275275 this .hasName ( "getComment" ) and
0 commit comments