Prints the specified message as a warning; prepends "WARNING" to
    the message, so that can be left off.
161557
def warn(msg, level=0, prefix=True):
    
    if will_print(level):
        printer(("WARNING: " if prefix else "") + msg, "yellow")
226211
public void warn( Element e, String msg, Object... args ) {
        messager.printMessage( Diagnostic.Kind.WARNING, String.format( msg, args ), e );
    }
783422
public void printWarning(SourcePosition pos, String msg) {
        if (silent)
            return;
        messager.printWarning(pos, msg);
    }
1302067
def print_warning(msg, color=True):
    
    if color and is_posix():
        safe_print(u"%s[WARN] %s%s" % (ANSI_WARNING, msg, ANSI_END))
    else:
        safe_print(u"[WARN] %s" % (msg))
1024676
def warning(self, message, *args, **kwargs):
        
        self.system.warning(message, *args, **kwargs)
1236343
public void prependMessage(String message) {
        if (iMessage == null) {
            iMessage = message;
        } else if (message != null) {
            iMessage = message + ": " + iMessage;
        }
    }
551732
public void warn(final Throwable t, final String message, final Object ... args)
    {
        wrappedLogger.warn(String.format(message, args), t);
    }
62518
public void warn(Object message, Throwable t)
    {
        if (IS12)
        {
            getLogger().log(FQCN, Level.WARN, message, t);
        }
        else
        {
            getLogger().log(FQCN, Level.WARN, message, t);
        }
    }
1276455
public final void warn(Object message) {

        if (isLevelEnabled(SimpleLog.LOG_LEVEL_WARN)) {
            log(SimpleLog.LOG_LEVEL_WARN, message, null);
        }
    }
1185343
def warning(self, message, *args, **kwargs):
        
        warncls = kwargs.pop('warning', None)
        if warncls and self.raise_warnings:
            warnings.warn(message, warncls)

        return self.log(logging.WARNING, message, *args, **kwargs)
636167
public void warning(String message, Map<String, Object> custom) {
    warning(null, custom, message);
  }
671454
public void warn (String msg, Object... args) {
    warn(format(msg, args), getCause(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);
    }
819037
@Override
    public void warn( F0<String> msg )
    {
        if ( compilerLogger.isWarnEnabled() )
        {
            compilerLogger.warn( msg.apply() );
        }
    }
11525
public void warn(String msg) {
        if (logger.isLoggable(Level.WARNING)) {
            log(SELF, Level.WARNING, msg, null);
        }
    }
988314
def warning(msg, *args, **kwargs):
    ''''''
    msg = '{0} {1}'.format(yellow(WARNING), msg)
    echo(msg, *args, **kwargs)
1329096
public void warning(String message, Map<String, Object> custom) {
    log(null, custom, message, Level.WARNING);
  }