Bug 129934 - [typing] Feature to automatically add documentation of inherited constructors
Summary: [typing] Feature to automatically add documentation of inherited constructors
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 08:08 EST by Thomas von Haugwitz CLA
Modified: 2006-03-01 08:28 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();
     }