You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add rewrite support for errorprone.refasterrules #11015
I’d like to propose integrating Google’s Error Prone and its Picnic extension (demonstrated in Automating Away Bugs with Error Prone | PlatformCon 2023) to enable automated bug fixes via rewrite rules. This would complement Checkstyle’s static analysis capabilities by addressing semantic bugs rather than stylistic issues.
Motivation
Error Prone’s refaster/rewrite rules can automatically:
Fix common bug patterns (e.g., String.equals() misuse)
Modernize code (e.g., JDK migration helpers)
Enforce best practices (e.g., null-check improvements)
Activity
Pankraz76 commentedon Aug 1, 2025
sorry already opened but no comment.