code: private void scanVariant() {
          for (int i = 0; i < variant.getParamList().size() && !isStop(); i++) {
              // ZAP: Removed unnecessary cast.
              originalPair = variant.getParamList().get(i);
              
              if (!isToExclude(originalPair)) {
                  
                  // We need to use a fresh copy of the original message
                  // for further analysis inside all plugins
                  HttpMessage msg = getNewMsg();
                  
                  try {
                      scan(msg, originalPair);
                  
                  } catch (Exception e) {
                      logger.error("Error occurred while scanning a message:", e);
                  }
              }
          }
      }
docs: Scan the current message using the current Variant