code: private void processURLPatterns(List<ServletMapping> servletMappings) {
          for (ServletMapping servletMapping : servletMappings) {
              String servletName = servletMapping.getServletName();
              List<String> urlPatterns = servletMapping.getURLPatterns();
              if (urlPatterns != null) {
                  for (String pattern : urlPatterns) {
                      urlPatternToServletName.put(pattern, servletName);
                  }
              }
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "urlPatternToServletName: " + urlPatternToServletName);
          }
      }
docs: Creates a map of url patterns to serlvet names that represents the url-pattern elements inside the servlet-mapping elements
  in the web.xml and/or web-fragment.xml
  
  @param servletMappings the servlet mappings