public class J2clSuppressWarningsGuard extends DiagnosticGroupWarningsGuard
WarningsGuard.Priority| Constructor and Description |
|---|
J2clSuppressWarningsGuard() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
disables(DiagnosticGroup type)
Returns whether all warnings in the given diagnostic group will be
filtered out.
|
protected int |
getPriority()
The priority in which warnings guards are applied.
|
CheckLevel |
level(JSError error)
Returns a new check level for a given error.
|
enables, makeNonStrict, toStringpublic boolean disables(DiagnosticGroup type)
WarningsGuarddisables in class DiagnosticGroupWarningsGuardtype - A group of DiagnosticTypes.public CheckLevel level(JSError error)
WarningsGuardlevel in class DiagnosticGroupWarningsGuarderror - a reported error.protected int getPriority()
WarningsGuardgetPriority in class WarningsGuardCopyright © 2009-2020 Google. All Rights Reserved.