Uses of Enum
com.google.errorprone.BugPattern.SeverityLevel
Package
Description
Checks added to the java compiler which detect common bug patterns.
A predicate DSL for matching javac AST nodes.
-
Uses of BugPattern.SeverityLevel in com.google.errorprone
Modifier and TypeClassDescriptionstatic enum
The severity of the diagnostic.Modifier and TypeMethodDescriptionBugCheckerInfo.defaultSeverity()
BugCheckerInfo.severity
(Map<String, BugPattern.SeverityLevel> severities) static BugPattern.SeverityLevel
Returns the enum constant of this type with the specified name.static BugPattern.SeverityLevel[]
BugPattern.SeverityLevel.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionBugCheckerInfo.withCustomDefaultSeverity
(BugPattern.SeverityLevel defaultSeverity) Modifier and TypeMethodDescriptionstatic VisitorState
VisitorState.createConfiguredForCompilation
(com.sun.tools.javac.util.Context context, DescriptionListener listener, Map<String, BugPattern.SeverityLevel> severityMap, ErrorProneOptions errorProneOptions) Return a VisitorState configured for a new compilation, including Error Prone configuration.BugCheckerInfo.severity
(Map<String, BugPattern.SeverityLevel> severities) ModifierConstructorDescriptionVisitorState
(com.sun.tools.javac.util.Context context, DescriptionListener listener, Map<String, BugPattern.SeverityLevel> severityMap, ErrorProneOptions errorProneOptions) Deprecated. -
Uses of BugPattern.SeverityLevel in com.google.errorprone.bugpatterns
-
Uses of BugPattern.SeverityLevel in com.google.errorprone.matchers
Modifier and TypeMethodDescriptionDescription.applySeverityOverride
(BugPattern.SeverityLevel severity) Internal-only.Description.Builder.overrideSeverity
(BugPattern.SeverityLevel severity) -
Uses of BugPattern.SeverityLevel in com.google.errorprone.scanner
Modifier and TypeMethodDescriptionabstract com.google.common.collect.ImmutableMap
<String, BugPattern.SeverityLevel> ScannerSupplier.severities()
ErrorProneScanner.severityMap()
Scanner.severityMap()
Returns a mapping between the canonical names of checks and theirBugPattern.SeverityLevel
.ModifierConstructorDescriptionErrorProneScanner
(Iterable<BugChecker> checkers, Map<String, BugPattern.SeverityLevel> severities) Create an error-prone scanner for a non-hardcoded set of checkers.
VisitorState.createConfiguredForCompilation(com.sun.tools.javac.util.Context, com.google.errorprone.DescriptionListener, java.util.Map<java.lang.String, com.google.errorprone.BugPattern.SeverityLevel>, com.google.errorprone.ErrorProneOptions)
.