code: public ByteCodePattern addWild(int numWild) {
          Wild wild = isLastWild();
          if (wild != null) {
              wild.setMinAndMax(0, numWild);
          } else {
              addElement(new Wild(numWild));
          }
          return this;
      }
docs: Add a wildcard to match between 0 and given number of instructions. If
  there is already a wildcard at the end of the current pattern, resets its
  max value to that given.
  
  @param numWild
  maximum number of instructions to be matched by the wildcard