Provide a non-fatal notification, unless suppressed by the -nowarn option.
@param key    The key for the localized notification message.
@param args   Fields of the notification message.
354648
public void note(JavaFileObject file, String key, Object ... args) {
        report(diags.note(getSource(file), null, key, args));
    }
112072
public static Message warn(Entity entity, String key, String... args) {
        return message(MessageType.WARN, entity, key, args);
    }
946773
public static String getMessageForKey(String key, Object... args) {

        String result = null;
        if (hasDictionary()) {
            result = m_dictionary.get(key);
            if ((result != null) && (args != null) && (args.length > 0)) {
                for (int i = 0; i < args.length; i++) {
                    result = result.replace("{" + i + "}", String.valueOf(args[i]));
                }
            }
        }
        if (result == null) {
            result = "";
        }
        return result;
    }
674409
public void sendKey(int key)
	{
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "sendKey("+key+")");
		}
		
		sender.sendKeyCode(key);
	}
544722
public void printVerbose(String key, Object... args) {
        printRawLines(noticeWriter, localize("verbose." + key, args));
    }
1038992
public void appendArg(String key, String value) {
        if (args != null) {
            args.put(key, value);
        }
    }
707043
public void warn( String format, Object arg )
    {
        if( m_delegate.isWarnEnabled() )
        {
            FormattingTuple tuple = MessageFormatter.format( format, arg );
            m_delegate.warn( tuple.getMessage(), tuple.getThrowable() );
        }
    }
1163812
public static void sendNotification (
        ClientObject target, String receiverCode, int methodId, Object[] args)
    {
        sendNotification(target, receiverCode, methodId, args, Transport.DEFAULT);
    }
389864
public String getLocalizedString(String key, Object... args) {
        return getLocalizedString(currentLocale, key, args);
    }
276386
public String formatMessage(String key, Object[] args) {
        String msg = internalFormatMessage(getMessage(key), args);
        return msg;
    }
101045
public void error(String key, Object ... args) {
        report(diags.error(source, null, 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);
    }
1287745
public String localize(PrefixKind pk, String key, Object... args) {
        if (useRawMessages)
            return pk.key(key);
        else
            return messages.getLocalizedString(pk.key(key), args);
    }
1058474
public void error(SourcePosition pos, String key, Object... args) {
        printError(pos, getText(key, args));
    }
1341909
protected void handleInvocationNotification (int receiverId, int methodId, Object[] args)
    {
        // look up the decoder registered for this receiver
        InvocationDecoder decoder = _receivers.get(receiverId);
        if (decoder == null) {
            log.warning("Received notification for which we have no registered receiver",
                        "recvId", receiverId, "methodId", methodId, "args", args);
            return;
        }

//         log.info("Dispatching invocation notification", "receiver", decoder.receiver,
//                  "methodId", methodId, "args", args);

        try {
            decoder.dispatchNotification(methodId, args);
        } catch (Throwable t) {
            log.warning("Invocation notification receiver choked", "receiver", decoder.receiver,
                        "methId", methodId, "args", args, t);
        }
    }
561684
@Override
    public String key(String key, Object arg0) {

        if (hasConfigValue(key)) {
            return getConfigValue(key, new Object[] {arg0});
        }
        return m_messages.key(key, arg0);
    }
1211639
public static final String getMessage(String key, Object... args) {
        return NLS.getFormattedMessage(key, args, key);
    }