/** Report a warning. * @param lc The lint category for the diagnostic * @param pos The source position at which to report the warning. * @param key The key for the localized warning message. * @param args Fields of the warning message. */ public void mandatoryWarning(LintCategory lc, DiagnosticPosition pos, String key, Object ... args) { report(diags.mandatoryWarning(lc, source, pos, key, args)); }
/** Report a warning. * @param pos The source position at which to report the warning. * @param key The key for the localized warning message. * @param args Fields of the warning message. */ public void mandatoryWarning(DiagnosticPosition pos, String key, Object ... args) { if (enforceMandatoryWarnings) report(diags.mandatoryWarning(source, pos, key, args)); else report(diags.warning(source, pos, key, args)); }
/** Report a warning. * @param pos The source position at which to report the warning. * @param key The key for the localized warning message. * @param args Fields of the warning message. */ public void mandatoryWarning(DiagnosticPosition pos, String key, Object ... args) { report(diags.mandatoryWarning(source, pos, key, args)); }
/** Report a warning. * @param lc The lint category for the diagnostic * @param pos The source position at which to report the warning. * @param key The key for the localized warning message. * @param args Fields of the warning message. */ public void mandatoryWarning(LintCategory lc, DiagnosticPosition pos, String key, Object ... args) { report(diags.mandatoryWarning(lc, source, pos, key, args)); }
/** Report a warning. * @param pos The source position at which to report the warning. * @param key The key for the localized warning message. * @param args Fields of the warning message. */ public void mandatoryWarning(DiagnosticPosition pos, String key, Object ... args) { report(diags.mandatoryWarning(source, pos, key, args)); }
/** Report a warning. * @param pos The source position at which to report the warning. * @param key The key for the localized warning message. * @param args Fields of the warning message. */ public void mandatoryWarning(DiagnosticPosition pos, String key, Object ... args) { report(diags.mandatoryWarning(source, pos, key, args)); }