Validates various issues for Error Prone. Here's how to run it:
- Make sure that you have Java 11 installed.
- Clone this repository.
- Run
gradlew.bat(Windows) or./gradlew(Mac, Linux). - The application runs fine.
- Edit
build.gradle:- Comment out the line with
excludedPaths = ".*/issues/.*", currently line 103. This would include all files for Error Prone. - Uncomment one of the
excludedPathsline below. - Save.
- Comment out the line with
- Run
gradlew.bat(Windows) or./gradlew(Mac, Linux) again. - You'll get an error.
Currently, this repository recreates these issues:
- #1479: Lombok - MultiVariableDeclaration: IllegalArgumentException "Start [449] should not be after end [-1]" (Preconditions.java:300)
- #1430: IllegalArgumentException from AlmostJavadoc pattern on project using lombok
- #1481: Lombok false positive: MissingOverride for "@EqualsAndHashCode(callSuper = true)" when extending base class
- #1482: Lombok false positive: Var for "@EqualsAndHashCode"