Bug 129934

Summary: [typing] Feature to automatically add documentation of inherited constructors
Product: [Eclipse Project] JDT Reporter: Thomas von Haugwitz <tvh>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Thomas von Haugwitz CLA 2006-03-01 08:08:04 EST
Hello,

i would like to suggest a feature which automatically adds the documentation of inherited constructors. 

We have the following scenario right now. If you create a new class which inherits another class, the constructors is always added to the newly created class with a comment like

public class SomeClass
extends SomeOtherClass

/**
 *
 */
 public SomeClass()
 {
     super();
 }

SomeOtherClass contained the following pretty well documented constructor

public class SomeOtherClass
{
    /**
     *  Constructor.
     *
     *  a class to do stuff and some other cool things.
     *  uses a special interface with a whole bunch of
     *  superimportant features
     */
    public SomeOtherClass()
    {
    }

it would be cool if that comment would be added to inherited constructors as
well. Also, this comment could be used as a document-template.

public class SomeClass
extends SomeOtherClass
{
    /**
     *  Constructor.
     *
     *  a class to do stuff and some other cool things.
     *  uses a special interface with a whole bunch of
     *  superimportant features
     */
     public SomeClass()
     {
        super();
     }