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

Summary: Javadoc for Implemented Methods
Product: java Reporter: thomasowens <thomasowens>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker CC: jpokorsky
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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. ***