This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102012

Summary: Warnings should be shown for broken Javadoc links
Product: java Reporter: Jesse Glick <jglick>
Component: JavadocAssignee: Jan Pokorsky <jpokorsky>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2007-04-20 18:28:11 UTC
Not sure if this is covered by some larger feature (e.g. Javadoc code
completion), but perhaps the following would not be too hard to implement, and
would be very useful for anyone editing Javadoc:

If a @see or @link tag is present in a Javadoc comment, try to look up the
target. (Paying attention to imported classes and so on - Retouche APIs should
be quite valuable here. And make sure to handle '#' correctly - i.e. '.' only
separates package components from classes, and I think classes from nested
classes, but '#' must be used for fields, methods, and constructors.) If the
target is not found, add a warning to the document.
Comment 1 Jan Pokorsky 2008-02-13 09:26:47 UTC

*** This issue has been marked as a duplicate of 122484 ***