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, toString
public boolean disables(DiagnosticGroup type)
WarningsGuard
disables
in class DiagnosticGroupWarningsGuard
type
- A group of DiagnosticTypes.public CheckLevel level(JSError error)
WarningsGuard
level
in class DiagnosticGroupWarningsGuard
error
- a reported error.protected int getPriority()
WarningsGuard
getPriority
in class WarningsGuard
Copyright © 2009-2020 Google. All Rights Reserved.