Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4172027
Votes 0
Synopsis Linking from javadoc to source code
Category doclet:tbd
Reported Against 1.2beta4
Release Fixed
State 11-Closed, duplicate of 1242492, request for enhancement
Priority: 4-Low
Related Bugs 1242492
Submit Date 08-SEP-1998
Description




(This seems pretty obvious, so my apologies if it
has been suggested before, but it is not yet part of
javadoc, so here goes...)

The usual next step to learn more about a method 
after reading the detailed documentation is to look
at the actual source code.  It seems to me that it would 
be quite easy for javadoc to provide a little icon in 
in the entry for each method which jumps to the 
corresponding source code from which the document was
produced.

The only difficulty with implementing this is that 
there won't usually be a named anchor for each method
in the source.  On the one hand, just loading the correct
source file into the browser would be a great time-saver.
It also should be easy to also provide a simple
java applet which finds the line on which the corresponding
method actually starts.
(Review ID: 38471)
======================================================================
Work Around
N/A
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang