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.
162817
public void warning(String key, Object... args) {
        report(WARNING, resources.getText(key, args));
    }
710558
String messageFormat(String key, Object... args) {
        String rs = getResourceString(key);
        return MessageFormat.format(rs, args);
    }
355529
protected final void warning(Element e, String msg, Object... args) {
        if (messager == null) {
            illegalState();
        }
        messager.printMessage(Diagnostic.Kind.WARNING, String.format(msg, args), e);
    }
321086
public void warn(String format, Object arg) {
        formatAndLog(LOG_LEVEL_WARN, format, arg, null);
    }
426032
public void error(String key, Object ... args) {
        error(diags.errorKey(key, args));
    }
544722
public void printVerbose(String key, Object... args) {
        printRawLines(noticeWriter, localize("verbose." + key, args));
    }
733546
void error(String key, Object... args) {
        if (apiMode) {
            String msg = log.localize(PrefixKind.JAVAC, key, args);
            throw new PropagatedException(new IllegalStateException(msg));
        }
        warning(key, args);
        log.printLines(PrefixKind.JAVAC, "msg.usage", ownName);
    }
923508
public void mandatoryNote(final JavaFileObject file, String key, Object ... args) {
        report(diags.mandatoryNote(getSource(file), key, args));
    }
696881
public void warning(final String msg)
    {
        warnings++;

        if (!suppressOutput)
        {
            out.println("WARNING: " + msg);
        }

        if (warningsFatal && stopOnError)
        {
            throw new IllegalArgumentException(msg);
        }
    }
1312723
public void strictWarning(DiagnosticPosition pos, String key, Object ... args) {
        writeDiagnostic(diags.warning(null, source, pos, key, args));
        nwarnings++;
    }
551732
public void warn(final Throwable t, final String message, final Object ... args)
    {
        wrappedLogger.warn(String.format(message, args), t);
    }
1265372
public void warn(String message, Object... args) {
    warn(String.format(message, args), getThrowable(args));
  }
1244621
public void warn( Marker marker, String format, Object arg )
    {
        if( m_delegate.isWarnEnabled() )
        {
            FormattingTuple tuple = MessageFormatter.format( format, arg );
            setMDCMarker( marker );
            m_delegate.warn( tuple.getMessage(), tuple.getThrowable() );
            resetMDCMarker();
        }
    }
1038992
public void appendArg(String key, String value) {
        if (args != null) {
            args.put(key, value);
        }
    }
1272811
public void error(Error errorKey) {
        report(diags.error(null, source, null, errorKey));
    }
834285
protected String getMessage(String key, Object... args) {

        return Messages.get().getBundle().key(key, args);
    }
674409
public void sendKey(int key)
	{
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "sendKey("+key+")");
		}
		
		sender.sendKeyCode(key);
	}