Bug 148742

Summary: [5.0][content assist] Annotation content assist not working in all cases for parameters
Product: [Eclipse Project] JDT Reporter: Mike Youngstrom <youngm>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, frederic_fusier
Version: 3.2   
Target Milestone: 3.3 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Mike Youngstrom CLA 2006-06-26 21:09:23 EDT
Annotation content assist does not appear to work for interface method parameters and abstract method parameters.

interface Test {
     public void test(@TestAnnotation int testParam);
}

No content assist is provided when adding @TestAnnotation to the method parameter.  Again this only happens for interface method parameterss and I think abstract method parameters.

Mike
Comment 1 Dani Megert CLA 2006-06-27 05:29:20 EDT
Can be reproduced using I20060620-1010.
Comment 2 David Audel CLA 2006-06-30 04:50:59 EDT
Created attachment 45566 [details]
Proposed patch
Comment 3 David Audel CLA 2006-06-30 04:54:31 EDT
Released for 3.3 M1

Tests added AnnotationCompletionParserTest#test0125() -> test0126()
Test updated AnnotationCompletionParserTest#test0023()
Comment 4 Mike Youngstrom CLA 2006-06-30 10:41:06 EDT
Any chance this issue could be marked for back ported to 3.2.1?
Comment 5 David Audel CLA 2006-06-30 10:54:53 EDT
The fix won't be backported to 3.2.1 because it isn't not a regression from 3.1 and it isn't a critical bug.
Comment 6 Frederic Fusier CLA 2006-08-04 11:38:24 EDT
Verified for 3.3 M1 using build I20060804-0010.

Same remark than while verifying bug 102875
interface ITest {
     public void test(@<|> int testParam);
}

Complete just after the '@' does not give any proposal, is it the expected behavior?