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 124108 - [60cat] No JavaDoc hint for overridden methods
Summary: [60cat] No JavaDoc hint for overridden methods
Status: REOPENED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 09:28 UTC by tboerkel
Modified: 2010-09-23 08:39 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2007-12-17 09:28:01 UTC
[ BUILD # : 200711261600 ]
[ JDK VERSION : 1.6.0_03 ]

I get no JavaDoc hint for an overridden method. At least the same
JavaDoc hint ("create missing") as usual should appear.

Ideally, a 2nd hint "copy from super method" should be available.
Comment 1 Jan Lahoda 2007-12-19 19:10:16 UTC
The javadoc hints are provided by the javadoc module. Not sure if having such hint is important, as the javadoc tool
will automatically copy the javadoc from the base method.
Comment 2 Jan Pokorsky 2008-01-18 17:02:48 UTC
As designed. In case the overridden method contains complete javadoc there is no need for a hint. You can still write
/**+<Enter> to generate the skeleton.
Comment 3 tboerkel 2008-01-18 17:13:58 UTC
1.
Having no hint there and having to type /** is at least inconsistent to normal behavior.

2.
Changing to enhancement for the "Copy from super method" hint. I don't know why, but when I override a method with
"insert code", it does not copy the JavaDoc from the super method.
Comment 4 Jan Pokorsky 2008-01-18 18:00:27 UTC
ad 1) I do not think it is inconsistent. /**+<Enter> is normal behavior. Nevertheless I found a similar request (issue
#96287) so if you agree I would make this a duplicate.

ad 2) regarding "insert code" I am not sure if the option to copy javadoc has been already implemented. I remember such
a request in java/editor. This has no connection to the javadoc module.