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: 4089781
Votes 0
Synopsis @param tags need to link to static final categories
Category doclet:tbd
Reported Against 1.1.4
Release Fixed
State 11-Closed, duplicate of 4085608, request for enhancement
Priority: 5-Very Low
Related Bugs 4085608
Submit Date 30-OCT-1997
Description

This situation occurs over and over:
  1. There is an @param tag for options.
  
  2. There is a YES_NO_OPTION and a YES_NO_CANCEL_OPTION.
  
  3. Those are the options that exist today. In the future, additional
     options are likely to be added.
     
The API comment for the method with this parameter needs to provide
an @see link to the possible options. Note that:
  * If you list the possible options in the comment, you KNOW the list
    will be out of date as soon as someone adds an additional option.
    
  * If you don't provide a list or a link, the user has to make the
    connection between which of several sets of constants defined in
    the file apply to any given tag. No one link is hard, but the
    collection of all of them begins to impose a significant burden.
    
Again, the issue comes back to the ability to modularize the documentation.
We need to link to a location, where the contents of that location are
determined by javadoc.

Currently, files are linear. We have option1, option2, option3, etc.
What we need is hierarchy. So we can have:
   CATEGORY
      option1
      option2
      option3
      
Then both individual entries and common elements can be indexed and linked. 
     
This is exactly the same issue as:
   PROPERTY
      getProperty
      setProperty
      isProperty

(Individual options need to link to the Category discription automatically,
or else be physically adjacent so it is easy to find.)    

eric
(Review ID: 14803)
======================================================================
Work Around
N/A
Evaluation
This must be implemented when implementing categories for static finals,
which is RFE 4085608.  Closing out as a dupe.
  xxxxx@xxxxx   1998-04-03
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang