error-prone-support
error-prone-support copied to clipboard
Error Prone extensions: extra bug checkers and a large battery of Refaster rules.
### Problem In https://github.com/checkstyle/checkstyle/pull/14229 we are enabling the `CollectorMutability` check in the Checkstyle repository. The Checkstyle team tries to minimize the dependencies they have on Guava. Therefore, the rewrite to...
:exclamation: ~~This PR is on top of #255~~ :exclamation: This PR is a work in progress; @rickie and I have worked on this on-and-off over the past months. Pulling this...
### Problem Using JUnit 5's `Arguments` API performs validation of its parameters at runtime which can lead to three scenarios: 1. Mismatching types - found when executing the tests (i.e....
This PR is split into two commits: - Code implementation. - Manually applied suggestions Suggested commit message: ``` Sort arguments of RefasterRuleCollectionTestCase#elidedTypesAndStaticImports (#850) ```
### Problem Methods returning reactive types but in reality are implemented synchronously give callers a wrong impression of what's going on in a method. See [this section](https://youtu.be/xCu73WVg8Ps?t=1258) of the "Avoiding...
### Problem For every Refaster Rule collection we have a corresponding `*Test{Input,Output}.java` file where we test the Refaster rules. These test classes implement the `RefasterRuleCollectionTestCase` interface that contains the `elidedTypesAndStaticImports`...
Adds a bugchecker that flags uses of JUnit `Argument`s when only a single (or in a weird edge case no) argument is used. An example can be seen in the...
### Describe the bug - [x] I have verified that the issue is reproducible against the latest version of the project. - [x] I have searched through existing issues to...
### Problem Internally we heavily use SLF4J for logging in our classes. We would like to have a check to canonicalize the usage of such loggers. For that reason we...
I wish to expand the test suite further, but it should already give a good indication of what is possible with this check. A few things: - I am not...