Project: JDT
Bug 20549 Class generation from Interface generates @see - tags Javadoc doesn't understand [javadoc]
Reported: 2002-06-18 12:24:34 | Status: resolved fixed

I have an interface stack like this: public interface OuterI { public interface InnerI {} public void eatInner(InnerI innerI); } I use New/Class to generate a class implementing OuterI. Here is (a slightly boiled-down version of) what I get: import OuterI.InnerI; public class Impl implements OuterI { /** * @see OuterI#eatInner(InnerI) */ public void eatInner(InnerI innerI) {} } Neat trick, that import statement. But unfortunately, the javadoc tool does not agree with us: javadoc: warning - Impl.eatInner(OuterI.InnerI): Tag @see: can't find eatInner(InnerI) in OuterI I correct it manually, then it works: import OuterI.InnerI; public class Impl implements OuterI { /** * @see OuterI#eatInner(OuterI.InnerI) */ public void eatInner(InnerI innerI) {} }

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddJavaDocStubOperation.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java