Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 405243

Summary: [code assist] Duplicate @Target annotations getting suggested
Product: [Eclipse Project] JDT Reporter: ANIRBAN CHAKRABORTY <anchakrk>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: srikanth_sankaran, stephan.herrmann
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description ANIRBAN CHAKRABORTY CLA 2013-04-09 04:34:06 EDT
@Target ({ElementType.TYPE_USE})
@Targe<ctrl-space>

Still suggests @Target.
Comment 1 ANIRBAN CHAKRABORTY CLA 2013-04-09 04:35:00 EDT
Same for @interface
Comment 2 Stephan Herrmann CLA 2013-04-09 06:45:21 EDT
Do you think with JEP 120 (repeating annotations / enhanced meta-data)
we can distinguish legal / illegal repetitions during code assist?
Comment 3 ANIRBAN CHAKRABORTY CLA 2013-04-19 02:51:01 EDT
(In reply to comment #2)
> Do you think with JEP 120 (repeating annotations / enhanced meta-data)
> we can distinguish legal / illegal repetitions during code assist?

I'll investigate, and reply. And fix as necessary.
Thanks
Comment 4 ANIRBAN CHAKRABORTY CLA 2013-05-03 04:12:42 EDT
Planning to postpone this till the JEP 120 project is done. Please let me know if anyone has any objection.
Comment 5 Srikanth Sankaran CLA 2013-08-26 01:38:14 EDT
JEP120 requires special tagging of repeatable annotations and as of
8b100 @Target is not tagged as repeatable. It is unlikely also since
the existing mechanism for specifying multiple targets works just fine.

I vote to move this out of [1.8] as this is a general issue and not
1.8 specific.
Comment 6 Eclipse Genie CLA 2020-03-21 19:25:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.