code: public void warning(String key, Object... args) {
          report(WARNING, resources.getText(key, args));
      }
docs: Reports a warning message to the doclet's reporter.
  
  @param key the name of a resource containing the message to be printed
  @param args optional arguments to be replaced in the message.