Bug 148742 - [5.0][content assist] Annotation content assist not working in all cases for parameters
Summary: [5.0][content assist] Annotation content assist not working in all cases for ...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 21:09 EDT by Mike Youngstrom CLA
Modified: 2006-08-04 11:38 EDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (5.68 KB, patch)
2006-06-30 04:50 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?