- a453935 Release Error Prone 2.37.0 by cushon ยท 9 months ago v2.37.0
- 81faa5a Update JDK versions in release.yml by Liam Miller-Cushon ยท 9 months ago
- 62086b7 Handle multiple arguments in `thenThrow`. by ghm ยท 9 months ago
- 7440ff1 In StringConcatToTextBlock, don't assume that string literals always have source position information by Liam Miller-Cushon ยท 9 months ago
- 04fe835 Adds type_annotations back but as a relocation to annotations by Thomas Broyer ยท 9 months ago
- 1ad73c2 Handle `yield` in Reachability by Liam Miller-Cushon ยท 9 months ago
- b1b521f Sniff out the canonical constructor using detective work rather than a flag which isn't there. by ghm ยท 9 months ago
- 86e5c95 Optimization: Abort class scan in `JUnit4TestNotRun` if all suspicious methods have been excluded. by David P. Baker ยท 9 months ago
- c139e7f [StatementSwitchToExpressionSwitch] for the return switch pattern, fix a bug where the auto-fix can contain dead code, which will lead to a compile-time error if adopted. by markbrady ยท 9 months ago
- 296fb4e Hardcode `BoxedPrimitiveEquality:ExemptStaticConstants = false`. by ghm ยท 9 months ago
- aee5101 Have `UAnyOf#accept` invoke `TreeVisitor#visitOther` by Rick Ossendrijver ยท 9 months ago
- 8c476e7 Make return of findPathFromEnclosingNodeToTopLevel @Nullable by Manu Sridharan ยท 9 months ago
- c124fc6 Remove separate type_annotations artifact by Liam Miller-Cushon ยท 9 months ago
- baf0e0a Discourage assignment expressions. by ghm ยท 9 months ago
- f635aa8 Improve handling of raw types by Liam Miller-Cushon ยท 9 months ago
- 52a3318 Make TooManyParameters analyzer ignore constructors that have @AutoFactory annotation. by Error Prone Team ยท 9 months ago
- ee8702c [StatementSwitchToExpressionSwitch]: for return switch conversion, fix incorrect assumption that last of multiple statements is always a return by markbrady ยท 9 months ago
- 9546ee4 Get Choice off Guava's Optional/Predicate/Function types. by ghm ยท 9 months ago
- d353a78 Add "public" to constructors in constructor_withAtInject and ignoresAutoFactory tests. by Error Prone Team ยท 9 months ago
- bbb0fe5 Add an explanation for PatternMatchingInstanceof by Liam Miller-Cushon ยท 9 months ago
- f439f9c Make NonCanonicalStaticMemberImport diagnostics more self-explanatory by Liam Miller-Cushon ยท 9 months ago
- a4834bd Rename methods on Choice to the corresponding Stream methods. by ghm ยท 9 months ago
- 82dbc53 Add handling of FutureCombiner.callAsync by Error Prone Team ยท 9 months ago
- eac11e5 UnusedVariable: recognise unused binding variables in instanceofs. by ghm ยท 9 months ago
- f01cfb5 Improve the hacky code to find the indent level of source lines. by ghm ยท 9 months ago
- 52cadcd Document that `IdentifierTree`s may have `null` symbols in some cases to save the next person some time. by ghm ยท 9 months ago
- ca5f827 More test formatting following https://github.com/google/error-prone/commit/714e49ba618f91345866848d05bd7fcc24e1c3ab by ghm ยท 9 months ago
- a2d7aa7 [StatementSwitchToExpressionSwitch] Enable assignment switch conversion by default. This default behavior can be manually overridden by using a command-line flag. by markbrady ยท 9 months ago
- 3347997 Delete `STATIC_IMPORT_ASSERT_THAT` and just always static import `assertThat`. by Kurt Alfred Kluever ยท 9 months ago
- b172f9a Remove the Applier from AppliedFix. It just seems unnecessary and does not spark joy. by ghm ยท 9 months ago
- a99ff06 IdentifierName: support JDK 22 unnamed variables by Mikkel Kjeldsen ยท 9 months ago
- 714e49b Fix handling of addOutputLines. by ghm ยท 9 months ago
- 4c116d9 Format all of ErrorProne's sources in text blocks. by ghm ยท 9 months ago
- da2ddd1 Add `ImportPolicy.STATIC_IMPORT_ASSERT_THAT`, which always static imports static `assertThat`. by ghm ยท 9 months ago
- 0c4c46c Add a variant test where the type parameter is explicitly used in the replacement. by ghm ยท 9 months ago
- 8109dfe Parse the expression to establish whether it's inlineable as a member reference rather than regexping it. by ghm ยท 9 months ago
- e9497cd Insert parens if the thing being substituted in may require them at the replacement site. by ghm ยท 9 months ago
- 785b4b8 Add another broken test where the substituted code requires parens. by ghm ยท 9 months ago
- 0bc6e8a Restore pre-21 workaround in `PlaceholderUnificationVisitor`. by ghm ยท 9 months ago
- ccc9a8a Inliner: parse the expression and use the AST to construct a replacement by performing careful, AST-backed surgery on the replacement expression tree. by ghm ยท 9 months ago
- 0ddefe8 [StatementSwitchToExpressionSwitch] Bugfix handling of brace removal for return switch. Add unit test to guard. by markbrady ยท 9 months ago
- 6daaf67 Be less tolerant of trailing semicolons in the validator. by ghm ยท 9 months ago
- e71e0dd Flag `@return` on classes. by ghm ยท 9 months ago
- c06a352 _Un_fix a common typo. by ghm ยท 9 months ago
- 3c33701 Add a test to demonstrate another inliner bug where the _inlined_ code requires parens. by ghm ยท 9 months ago
- 8792b7e Restore a curated list of GuardedBy annotations to heed. by ghm ยท 9 months ago
- 1d2b2e8 Inliner: substitute the variables at once at the end rather than iteratively. by ghm ยท 9 months ago
- ecb990c Try to detect whether inlining a parameter might require parentheses. by ghm ยท 10 months ago
- c5fdcd1 Add a repro for an inliner bug. by Kurt Alfred Kluever ยท 10 months ago
- 28a7bec [StatementSwitchToExpressionSwitch] Bugfix scenario where local `var`s take on intersection types, which are not supported for hoisting by markbrady ยท 10 months ago
- aae4d8d Add Strings.repeat as a regression test for Inliner. by ghm ยท 10 months ago
- 28f119a Add support for jakarta annotations to some checks by Artur Havliukovskyi ยท 10 months ago
- d6b3c13 Banish yet more unnecessary uses of `@Before`. by ghm ยท 10 months ago
- ebb17a1 Preserve spaces at the ends of lines. by ghm ยท 10 months ago
- 667aa84 Chuck some more `@CIRV`s on `BugCheckerRefactoringTestHelper`. by ghm ยท 10 months ago
- 98744b3 Add a repro for b/396965922 by ghm ยท 10 months ago
- cc12b63 Strengthen the types of token lists returned by `VisitorState`. by ghm ยท 10 months ago
- 36e6471 Make FloatingPointAssertionWithinEpsilon's description locale-agnostic. by ghm ยท 10 months ago
- ddf37d0 Deprecate the file-reading test methods. by ghm ยท 10 months ago
- 4b557c5 TimeInStaticInitializer: flag accesses of the system time in obviously static contexts. by ghm ยท 10 months ago
- 25ff26b Fix Error Prone maven javadoc generation by Liam Miller-Cushon ยท 10 months ago
- 229305b [StatementSwitchToExpressionSwitch] for direct conversion, fix scenario where variables defined in earlier cases are referenced in later cases, which can cause invalid generated code. Instead, hoist such variable definitions out of the switch block. by markbrady ยท 10 months ago
- f093681 Unbork the switches. by ghm ยท 10 months ago
- 5111ef0 PatternMatchingInstanceof: add wildcard type args if the type is generic. by ghm ยท 10 months ago
- 3bca664 Flag unused test parameters. by ghm ยท 10 months ago
- dd00161 Fix a typo in MixedDescriptors (getDescriptors -> getDescriptor) by ghm ยท 10 months ago
- 711d705 [StatementSwitchToExpressionSwitch] Disable checker when Java21-style case patterns are detected, because these are not currently supported and produce incorrect suggested fixes. In the future, support may be added. by markbrady ยท 10 months ago
- dbe6d47 RuleNotRun: try to detect JUnit `TestRule`s that are very plausibly not being run. by ghm ยท 10 months ago
- e49e4b1 Avoid `Tree#toString` in `SuggestedFix#swap` by Liam Miller-Cushon ยท 10 months ago
- c0f0cef Remove some obsolete helpers and inline the remaining usages by Liam Miller-Cushon ยท 10 months ago
- 761e6ab Check the parameter type used on `java.io.Serializable#readObject` calls by Error Prone Team ยท 10 months ago
- 4ae849e Remove obsolete reflective workarounds that are not needed now that the minimum supported JDK is 17 by Liam Miller-Cushon ยท 10 months ago
- 8311054 Automatic code cleanup. by Liam Miller-Cushon ยท 10 months ago
- bd0abac Consider protobuf Parser Immutable by Mark Hansen ยท 10 months ago
- 900654e SelfAssignment shouldn't crash in initializer blocks by Liam Miller-Cushon ยท 10 months ago
- 991d420 Add `ConcurrentHashMap.KeySetView` to the `WellKnownThreadSafety` list. by Error Prone Team ยท 10 months ago
- 397d8fc Don't favour the Guava `Objects` on Android any more; given the state of desugaring this should be unnecessary. by ghm ยท 10 months ago
- e4392fa Add suggestion for using ASTHelpers.enclosingClass instead of symbol.owner.enclClass(). by Error Prone Team ยท 10 months ago
- 96a3934 Remove the static constant exemption from BoxedPrimitiveEquality. by ghm ยท 10 months ago
- 1af6d64 `MockIllegalThrows`: flag cases where Mockito is configured to throw checked exception types which it certainly can't. by ghm ยท 10 months ago
- ec153f5 Consider anonymous classes (and things within) to be effectively private. by ghm ยท 11 months ago
- cf4e721 Add a CompileTimeConstantExpressionMatcher test for a ternary, concatenation, paren combination. by ghm ยท 11 months ago
- fb56dcb [StatementSwitchToExpressionSwitch] Enable return switch conversion by default. This default behavior can be manually overridden by using a command-line flag. by markbrady ยท 11 months ago
- 05f9422 IdentifierNaming: consider local classes to be private, and issue renames for renameable classes. by ghm ยท 11 months ago
- 5db6f38 Fix `ASTHelpers.getTypeSubstitutions()` to type mappings from array types. by Roberto Lublinerman ยท 11 months ago
- 27cc70f Add unit test coverage for `getTypeSubstitution` by Liam Miller-Cushon ยท 11 months ago
- b6a2b10 Update documentation to remove a small typo by Error Prone Team ยท 11 months ago
- 0cabca8 Handle record component annotations in RemoveUnusedImports by Liam Miller-Cushon ยท 11 months ago
- 68a9a13 Add a helper to rename classes. by ghm ยท 11 months ago
- f8d55d0 Tweak the diagnostic in HidingField to include the field name. by ghm ยท 11 months ago
- 0f01540 Add a regression test for b/390690031 by Liam Miller-Cushon ยท 11 months ago
- 37f3295 Yet more instanceofs: this time ternaries. by ghm ยท 11 months ago
- b9c272f PatternMatchingInstanceof: handle ternaries. by ghm ยท 11 months ago
- 7851fd2 Handle cases where you'd want to use the instanceof result in the same expression by ghm ยท 11 months ago
- d6d6ac7 Update `rejectMatchesWithComments()` TODO with a bug number. by Kurt Alfred Kluever ยท 11 months ago
- 4f61501 [StatementSwitchToExpressionSwitch] for direct conversion pattern, if the switch has a `default:` clause and is otherwise exhaustive (even without said `default:` clause), then propose an alternative fix which removes the `default:` clause and its code. by markbrady ยท 11 months ago
- 1bb8831 [StatementSwitchToExpressionSwitch] for return switch pattern, if the switch has a `default:` clause and is otherwise exhaustive (even without said `default:` clause), then propose an alternative fix which removes the `default:` clause and its code. by markbrady ยท 11 months ago
- 42a3701 Rip out GuardedBy flag. by ghm ยท 11 months ago
- 7431230 PatternMatchingInstanceof: handle inverted `if`s. by ghm ยท 11 months ago
- 249c359 Simplify yet more `instanceof`s, notably: by ghm ยท 11 months ago