Uses of Class
com.google.errorprone.matchers.Description.Builder
Packages that use Description.Builder
Package
Description
Checks added to the java compiler which detect common bug patterns.
A predicate DSL for matching javac AST nodes.
-
Uses of Description.Builder in com.google.errorprone.bugpatterns
Methods in com.google.errorprone.bugpatterns that return Description.BuilderModifier and TypeMethodDescriptionBugChecker.buildDescription(Tree node) Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.BugChecker.buildDescription(com.sun.tools.javac.tree.JCTree tree) Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.BugChecker.buildDescription(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition position) Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.Methods in com.google.errorprone.bugpatterns with parameters of type Description.BuilderModifier and TypeMethodDescriptionprotected voidAbstractReferenceEquality.addFixes(Description.Builder builder, BinaryTree tree, VisitorState state) -
Uses of Description.Builder in com.google.errorprone.bugpatterns.threadsafety
Methods in com.google.errorprone.bugpatterns.threadsafety that return Description.BuilderModifier and TypeMethodDescriptionImmutableAnalysis.ViolationReporter.describe(Tree tree, ThreadSafety.Violation info) -
Uses of Description.Builder in com.google.errorprone.matchers
Methods in com.google.errorprone.matchers that return Description.BuilderModifier and TypeMethodDescriptionDescription.Builder.addAllFixes(List<? extends Fix> fixes) Add each fix in order.Adds a suggested fix for thisDescription.Deprecated.static Description.BuilderReturns a new builder forDescriptions.static Description.BuilderDescription.builder(com.sun.tools.javac.tree.JCTree tree, String name, @Nullable String link, String message) Returns a new builder forDescriptions.static Description.BuilderDescription.builder(com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition position, String name, @Nullable String link, String message) Returns a new builder forDescriptions.Description.Builder.overrideSeverity(BugPattern.SeverityLevel severity) Description.Builder.setLinkUrl(String linkUrl) Set a custom link URL.Description.Builder.setMessage(String message) Set a custom error message for thisDescription.
SuggestedFix.emptyFix().