I could think of the following:
Add a static initializer to each of your classes in the form
static {
// here you can get the announcement:
// either write to the file with each class printing its name
// or force System.err to output the class name, and then retrieve all the output.
}
If you are too lazy to manually add a piece of code, you could write a simple program to add this initializer to all files ending in .java.
This is an easy way to get a list of all the classes used (I think). Good luck
source share