public void report(Diag diag) { if (diag.getKind() == Kind.WARNING && diagSuppressor.isDiagSuppressed(diag, diag.getLocation())) { return; } diagCollector.addDiag(diag); }
public void report(Diag diag) { if (diag.getKind() == Kind.WARNING && diagSuppressor.isDiagSuppressed(diag, diag.getLocation())) { return; } diagCollector.addDiag(diag); }
private void report( Diag.Kind kind, LocationContext locationContext, String formatString, Object... args) { Location location = locationContext.resolve(locationResolver); Diag diag = Diag.create(location, formatString, kind, args); if (diag.getKind() == Kind.WARNING && diagSuppressor.isDiagSuppressed(diag, location)) { return; } diagCollector.addDiag(diag); }
private void report( Diag.Kind kind, LocationContext locationContext, String formatString, Object... args) { Location location = locationContext.resolve(locationResolver); Diag diag = Diag.create(location, formatString, kind, args); if (diag.getKind() == Kind.WARNING && diagSuppressor.isDiagSuppressed(diag, location)) { return; } diagCollector.addDiag(diag); }