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 104847 - Javadoc for Implemented Methods
Summary: Javadoc for Implemented Methods
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 117520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-25 14:23 UTC by thomasowens
Modified: 2013-09-02 14:21 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 thomasowens 2007-05-25 14:23:28 UTC
If a class is declared as "class ClassName extends AbstractClass" or "class
ClassName implements Interface", NetBeans provides the feature to automatically
add the methods that must be implemented to the class. This should also copy the
javadoc comments for these methods, at least as an option.

I almost always clarify behavior of methods in the implementing class, and
copying javadoc comments takes time, especially when the method signatures are
automatically added.
Comment 1 bondolo 2007-09-28 21:50:35 UTC
At a minimum the "Add all Parent Abstract Methods" and "Add all Interface Methods" functions should be including "/**
{@inheritDoc} */" comments as well as, where appropriate, @Override annotations.
Comment 2 Jiri Prox 2007-10-01 10:29:21 UTC
This should be connected with Implement all abstract methods hint
Comment 3 Jan Pokorsky 2007-10-02 14:40:59 UTC
This should be available as an option if it is really necessary since javadoc is copied automatically by the javadoc
tool. See http://java.sun.com/javase/6/docs/technotes/tools/solaris/javadoc.html#inheritingcomments. Subclasses should
add javadoc or its part just in case they change the behavior which is not best practice usually.
Comment 4 Jan Pokorsky 2007-10-03 13:02:02 UTC
*** Issue 117520 has been marked as a duplicate of this issue. ***