docs: public Warning createWarning(final Matcher matcher) {
          compileScriptIfNotYetDone();
  
          Binding binding = new Binding();
          binding.setVariable("matcher", matcher);
          Object result = null;
          try {
              compiled.setBinding(binding);
              result = compiled.run();
              if (result instanceof Warning) {
                  return (Warning)result;
              }
          }
          catch (Exception exception) { // NOCHECKSTYLE: catch all exceptions of the Groovy script
              LOGGER.log(Level.SEVERE, "Groovy dynamic warnings parser: exception during parsing: ", exception);
          }
          return falsePositive;
      }