Most widely used seems [checkstyle](https://github.com/checkstyle/checkstyle) Another good candidate to consider is [spotbugs](https://github.com/spotbugs/spotbugs)