Dump Annotations Utility

To help debug the modified Java compiler, and also provide an example of how tools can access these annotations, the Volta project includes a utility called Dump Annotations. As its name implies, it will dump statement annotations to the console. It displays annotation data in the same struct-like format as the Java Virtual Machine Specification, making the output easy to read.

To use Dump Annotations, first build the modified Java compiler, specify the location of this modified javac in the build file, then run ant dump. You should see the results of a simple test case.