error-prone
error-prone copied to clipboard
Catch common Java mistakes as compile-time errors
Fix the workaround for SimpleCharStream.
Using error-prone 2.10.0. Here's a trivial example of a record where I get a warning that the `x` value is never being used, even though there are public methods that...
Remove ProtosAsKeyOfSetOrMap. This was added a fair while ago, and not enabled.
Turn down DivZero. It's aiming to replicate a javac warning, which I think we enable as an error anyway?
### Description of the problem / feature request: `./gradlew clean compileJava` throws this error ``` Service.java:1: error: An unhandled exception was thrown by the Error Prone static analysis plugin. package...
This bug tracks publishing the 'ApiDiffer' tool that is used to generate `core/src/main/java/com/google/errorprone/bugpatterns/apidiff/8to11diff.binarypb`. See also https://github.com/google/error-prone/pull/2598#issuecomment-1101641594
``` /Users/ben/projects/caffeine/caffeine/src/main/java/com/github/benmanes/caffeine/cache/LocalAsyncCache.java:16: error: An unhandled exception was thrown by the Error Prone static analysis plugin. package com.github.benmanes.caffeine.cache; ^ Please report this at https://github.com/google/error-prone/issues/new and include the following: error-prone version: 2.12.1...
ImmutableChecker: start of work to match lambdas.
Strongly type a parameter as a MethodSymbol to make it a bit clearer what it refers to.
Handle all annotations with the simple name `Generated` in `-XepDisableWarningsInGeneratedCode` Follow-up to https://github.com/google/error-prone/commit/4d6a0cce2d2ccc6a945352c2ba38201f753994bd See also https://github.com/google/error-prone/issues/3094