You might want to consider PMD and Checkstyle.
Another, simpler option is to write an integration test which iterates over your target directory and does some class filtering based on package name, then loads the desired classes using path name transform (directory + file name -> package + class name) and class.forName(). Apache commons io has some directory filtering classes IIRC. Am 17.10.2011 13:04 schrieb "Cem Koc" <cemalettin....@gmail.com>: