This is a simple command-line tool that checks the style of your Java source files. It has a number of built-in rules that originates from https://google-styleguide.googlecode.com/svn/trunk/javaguide.html
Having a standard style is a very good practice, but some of the styles, such as the ones related to whitespace, is tedious and very easy to miss. This tool helps Java developers to find style problems and fix them automatically.
Use Compile the package by
gradle build
Add groovy-all.jar and javastyler.jar to your CLASSPATH.
java me.zhihan.javastyler.Tool -h