jxref - Java Cross Reference Indexer

This is a Perl script that scans one or more directories of Java source files and generates a cross reference index page showing which classes are referenced by or subclassed by which other classes.

One of the problems with standard class reference documentation such as that produced by javadoc is that it concentrates on what classes are available and what methods they have but omits to tell you how or where you might expect to use them. Although very simplistic in its approach, the output produced by jxref can sometimes be a useful additon to javadoc documentation.

See here for an example of the output of jxref, when applied to the JDK 1.0.2 source files. The following command line was used:

Download jxref.pl (you will need Perl to run this). Note that as this is Perl source code you can modify it easily to suit your requirements.

May the source be with you!


Return to download page