Bug 47397 - @inheritDoc should be respected
Summary: @inheritDoc should be respected
Status: RESOLVED DUPLICATE of bug 45782
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-25 05:09 EST by Nikolay Metchev CLA
Modified: 2004-02-06 14:04 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 Nikolay Metchev CLA 2003-11-25 05:09:18 EST
if @inheritDoc is used then the javadoc problems compiler settings shouldn't 
kicking e.g:
---------------------------------------------
public class A implements B
{

   /**
    * {@inheritDoc}
    */
   public void method(int parameter)// parameter is actually commented!!!
   {
      throw new UnsupportedOperationException();
   }

}
interface B
{
   /**
    * nice method
    * @param parameter very good parameter
    */
   void method(final int parameter);
}
--------------------------------------------------
Comment 1 Philipe Mulet CLA 2003-11-25 06:36:03 EST
Agreed, should be equivalent to:
/**
 * @see A#method(int)
 */
Comment 2 Frederic Fusier CLA 2003-12-01 04:53:47 EST
Note that due to bug 47339 fix, you have a workaround for this:

public class A implements B {

   /**
    * @see B#method(int)
    */
   public void method(int parameter)// parameter is actually commented!!!
   {
      throw new UnsupportedOperationException();
   }
}


*** This bug has been marked as a duplicate of 45782 ***