Thursday, January 26, 2006

Javadoc LinkSource

I just used the javadoc linksource option for the first time, available in Java 5.0 and Ant 1.6. It generates links in the javadoc to the corresponding source code listings. I think it is very convenient to be able to click on a class or method name while browsing the javadoc and see what the code actually does, especially if there is no description or the description is not up-to-date.

The javadoc source code listings are not color coded like those on SourceForge.net but they do include line numbers. Take a look at the updated CroftSoft Javadoc and the linked source code listings. I am particularly fond of package Exemplar.

No comments: