public class DiagnosticGroupPathSuppressingWarningsGuard extends DiagnosticGroupWarningsGuard
WarningsGuard.Priority
Constructor and Description |
---|
DiagnosticGroupPathSuppressingWarningsGuard(DiagnosticGroup type,
String part) |
Modifier and Type | Method and Description |
---|---|
boolean |
disables(DiagnosticGroup type)
Does not suppress all warnings of any type.
|
CheckLevel |
level(JSError error)
Does not touch warnings in other paths.
|
String |
toString() |
enables, enablesExplicitly, makeNonStrict
getPriority
public DiagnosticGroupPathSuppressingWarningsGuard(DiagnosticGroup type, String part)
public boolean disables(DiagnosticGroup type)
disables
in class DiagnosticGroupWarningsGuard
type
- A group of DiagnosticTypes.public CheckLevel level(JSError error)
level
in class DiagnosticGroupWarningsGuard
error
- a reported error.public String toString()
toString
in class DiagnosticGroupWarningsGuard
Copyright © 2009-2017 Google. All Rights Reserved.