Documentation

Check that your code keeps style

Modules

Validate that your code confirms to coding guidelines
Base class for checks
Check bracketing etc.
Checks label declarations and usage
Handles 'package' declarations
Checks length, naming etc. of named subroutines
Checks variable declarations
Make sure whitespace is at correct places
Handles configuration directives
Represents a checkstyle violation
Convenient functions for checks