code: public void printWarning(SourcePosition pos, String msg) {
          if (silent)
              return;
          messager.printWarning(pos, msg);
      }
docs: Print warning message, increment warning count.
  
  @param msg message to print.