Summary: | [search] TypeReferenceMatch#getOtherElements() fails for match in annotation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | jerome_lanneluc, philippe_mulet, srikanth_sankaran | ||||||
Version: | 3.4 | ||||||||
Target Milestone: | 3.6 M1 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Markus Keller
2007-11-14 07:15:56 EST
Could defer until 3.5 since not super critical. Nice to have though for API completeness. So time permitting for M6. Finally, the last patch released for bug 209996 does not fix the problem described in comment 0. However, note that with that fix applied, the refactoring does no longer try to rename fields and local variables in the given snippet... We ran out of time for 3.4M7. Created attachment 127796 [details]
Proposed patch
Markus, please let me know if this fix would match your expectation, thanks
> Markus, please let me know if this fix would match your expectation, thanks
Looks good. I would only add an example in the Javadoc of TypeReferenceMatch#getOtherElements() where an IAnnotation is returned.
Created attachment 139643 [details]
Update patch for 3.6
Updated patch for 3.6 including example in TyepReferenceMatch.getOtherElements() javadoc comment...
Released for 3.6M1 in HEAD stream. Verified for 3.6M1 using I20090803-1800 |