Checkstyle

Checkstyle is a static code analysis tool used in software development for checking if Java source code is compliant with specified coding rules. Originally developed by Oliver Burn back in 2001, the project is maintained by a team of developers from around the world.