docs: public void addWarning(WarningMessage message) {
          if (message.isRelevant(configuration.getWarningLevel())) {
              if (this.warnings == null) {
                  this.warnings = new LinkedList();
              }
  
              this.warnings.add(message);
          }
      }