error-prone-support icon indicating copy to clipboard operation
error-prone-support copied to clipboard

Error Prone extensions: extra bug checkers and a large battery of Refaster rules.

Results 46 error-prone-support issues
Sort by recently updated
recently updated
newest added

### 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...

new feature

: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...

new feature

### 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....

new feature

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...

new feature

### 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`...

good first issue
new feature

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...

bug
help wanted

### 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...

new feature

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...

WIP