1. Install CheckStyle:

open eclipse(Kepler) -> Help -> install new software -> add -> type name : CheckStyle ,
type Location : http://eclipse-cs.sourceforge.net/update -> select checkstyle and press next
 

2. Config CheckStyle(option)

open eclipse -> Window -> preferences -> checkstyle -> config checkstyle settings
 

3. Create customize checkstyle rule(option)

open eclipse -> Window -> preferences -> checkstyle -> copy default rule
-> adjust rule for customize config file