Uses of Interface
com.google.errorprone.bugpatterns.BugChecker.NewClassTreeMatcher
Packages that use BugChecker.NewClassTreeMatcher
Package
Description
Checks added to the java compiler which detect common bug patterns.
-
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns
Classes in com.google.errorprone.bugpatterns that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionclassCheck for usage ofSet<T>orMap<T, E>.classAn abstract base class to match API usages in which the return value is not used.final classABugChecker; see the associatedBugPatternannotation for details.classWarns that users should not have an array as a key to a Set or Mapfinal classABugCheckerthat detects use of the unsafe JNDI API system.classMatches usages ofnew BigDecimal(double)which lose precision.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classclassA Bugpattern; see the accompanying Markdown documentation.classclassABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.final classFlag DateFormats which use the same field more than once.final classErrorProne checker to generate warning wheneverThreadPoolExecutoris constructed with differentcorePoolSizeandmaximumPoolSizeusing an unboundedworkQueuefinal classABugChecker; see the summary.final classSee BugPattern annotation.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.final classFlags ignored return values from pure getters.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.classBase class for checks which find common errors in date format patterns.final classBan use of D (day-of-year) in a date format pattern that also contains M (month-of-year).final classBan use of YYYY in a SimpleDateFormat pattern, unless it is being used for a week date.classChecks methods annotated with@NoAllocationto ensure they really do not allocate.final classFlags passing literal null toOptional-accepting APIs.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.final classHighlights cases where a proto's build method has its return value ignored.classCheck for non-allowlisted callers to RestrictedApiChecker.classA checker which produces an error when a return value is accidentally discarded.final classABugChecker; see the associatedBugPatternfor details.classclassABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.final classBugpattern to discourage throwing base exception classes.classABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details.final classFlags unsafe usages of theLocaleconstructor and class methods.classABugChecker; see the associatedBugPatternannotation for details.classPoints out on creation of Set and HashMap of type java.net.URL. -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.android
Classes in com.google.errorprone.bugpatterns.android that implement BugChecker.NewClassTreeMatcher -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.argumentselectiondefects
Classes in com.google.errorprone.bugpatterns.argumentselectiondefects that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionclassChecks the lexical distance between method parameter names and the argument names at call sites.final classChecker to make sure that constructors for AutoValue types are invoked with arguments in the correct order. -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.formatstring
Classes in com.google.errorprone.bugpatterns.formatstring that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionfinal classBugCheckerto assert validity of methods calls withFormatStringannotations.final classA BugPattern; see the summary. -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.inlineme
Classes in com.google.errorprone.bugpatterns.inlineme that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionfinal classChecker that performs the inlining at call-sites (where the invoked APIs are annotated as@InlineMe). -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.nullness
Classes in com.google.errorprone.bugpatterns.nullness that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionfinal classABugChecker; see the associatedBugPatternannotation for details.final classABugChecker; see the associatedBugPatternannotation for details.classCheck to detect unsafe upcasts ofnullvalues to wildcard types. -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.threadsafety
Classes in com.google.errorprone.bugpatterns.threadsafety that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionclassABugChecker; see the associatedBugPatternannotation for details.classABugChecker; see the associatedBugPatternannotation for details. -
Uses of BugChecker.NewClassTreeMatcher in com.google.errorprone.bugpatterns.time
Classes in com.google.errorprone.bugpatterns.time that implement BugChecker.NewClassTreeMatcherModifier and TypeClassDescriptionfinal classWarns against suspect looking calls toDateAPIs.final classCheck for calls to bad JodaTime constructors.final classCheck for calls to Joda-Time'sfoo.toFoo()andnew Foo(foo).final classChecker that detects likely time-unit mismatches by looking at identifier names.