Bug 114341

Summary: [javadoc][assist] range of the qualified type completion in javadoc text isn't corect
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2005-10-31 06:58:32 EST
build I20051031-0010

1) create X.java
public class X {
  /**
   * Toto.Tat|
   */
  void foo() {}
}
class Toto {
  class Tata {}
}

2) do ctrl + space at | location
3) select {@link Tata}

the result isn't correct because the qualification is not inside the link tag.
 /**
   * Toto.{@link Tata}
   */
Comment 1 Frederic Fusier CLA 2005-11-04 11:07:25 EST
Fixed and released in HEAD.

Source range for completion includes now qualification while completing in
javadoc text.

Test cases #testBug114341* added in JavadocBugsCompletionModelTest.
Comment 2 Jerome Lanneluc CLA 2005-12-13 06:34:54 EST
Verified for 3.2 M4 using build I20051213-0010
(However a wrong import is added in this scenario. Entered bug 120541)