Summary: | [javadoc][assist] javadoc completion for links to method with inner classes as argument is not correct | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olaf Krische <public> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | christian.koestlin |
Version: | 3.0 | ||
Target Milestone: | 3.2 RC1 | ||
Hardware: | PC | ||
OS: | Linux-GTK | ||
Whiteboard: |
Description
Olaf Krische
2004-10-03 19:59:56 EDT
filed bug 96237 against jdt.core so that we also warn about the usage of simple inner type names *** Bug 78796 has been marked as a duplicate of this bug. *** Moving all javadoc code assist bugs to jdt.core so they can be handled in the new jdt.core implementation. Verified it works with 3.2 RC1. Note that example is not correct and produce compiler error and warnings. Error is due to missing class on OtherClass declaration. Warnings in Javadoc are due to missing return type for method kick... So, correct example is: public class OtherClass extends OuterClass { /** * Wrong javadoc completion from Eclipse, that produces javadoc warnings: * {@link #k<complete here 1> * * #k<complete here 2> */ public OtherClass() { } public void kick(InnerClass innerClass) { return; } } Completion correctly inserts: 1) kick(OuterClass.InnerClass) 2) {@link #kick(OuterClass.InnerClass)} |