GCJX now accepts an "-fdump-tree" option that prints out the abstract syntax tree of a Java source file to stdout.
(Originally posted on Advogato.)