If you're using Eclipse, yes. You can't correct all problems though. There are two ways:
- Right click on the java file in Package Explorer or whatever, and select 'Apply Checkstyle Corrections'.
- Click on the error in the problems view, and select 'Quick fix'. This corrects the problem.