public final class StrictWarningsGuard extends WarningsGuard
WarningsGuard.Priority
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
(package private) static DiagnosticType |
UNRAISABLE_WARNING |
Constructor and Description |
---|
StrictWarningsGuard() |
Modifier and Type | Method and Description |
---|---|
protected int |
getPriority()
The priority in which warnings guards are applied.
|
CheckLevel |
level(JSError error)
Returns a new check level for a given error.
|
protected WarningsGuard |
makeNonStrict()
Make a warnings guard that's the same as this one but with
all escalating guards turned down.
|
disables, enables
private static final long serialVersionUID
static final DiagnosticType UNRAISABLE_WARNING
public CheckLevel level(JSError error)
WarningsGuard
level
in class WarningsGuard
error
- a reported error.protected int getPriority()
WarningsGuard
getPriority
in class WarningsGuard
protected WarningsGuard makeNonStrict()
WarningsGuard
makeNonStrict
in class WarningsGuard