docs: public void addAllowedPrefix(String prefix) {
          if (prefix.endsWith(".")) {
              prefix = prefix.substring(0, prefix.length() - 1);
          }
          LOG.debug("Allowed prefix: {}", prefix);
          String packageRegex = START + dotsToRegex(prefix) + SEP;
          LOG.debug("Prefix regex: {}", packageRegex);
          patternList.add(Pattern.compile(packageRegex).matcher(""));
      }