Bug 47397

Summary: @inheritDoc should be respected
Product: [Eclipse Project] JDT Reporter: Nikolay Metchev <nikolaymetchev>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M7   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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