code: private MethodVisitor visitHttpMethod(MethodVisitor mv, int access, String name, String desc, String signature,
              String[] exceptions) {
  
          MethodVisitor httpMv = mv;
  
          /*
           * Instrument _jspService method for JSP. Instrument doGet, doPost and
           * service methods for servlets.
           */
          if ((httpInstrumentJsp && name.equals("_jspService")) || (httpInstrumentServlet
                  && (name.equals("doGet") || name.equals("doPost") || name.equals("service")))) {
  
              // Only instrument if method has the correct signature
              if (HTTP_REQUEST_METHOD_DESC.equals(desc)) {
                  httpMv = new ServletCallBackAdapter(className, mv, access, name, desc);
              }
          }
  
          return httpMv;
      }
docs: Instrument HTTP request methods
  
  @param mv
  original MethodVisitor
  @param access
  @param name
  @param desc
  @param signature
  @param exceptions
  @return original MethodVisitor or new MethodVisitor chained to original