Bug 87170 - Code assist does't work for enums inside of annoations
Summary: Code assist does't work for enums inside of annoations
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 96770 96783 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-04 14:18 EST by Dirk Baeumer CLA
Modified: 2009-08-30 02:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2005-03-04 14:18:41 EST
- type @Target(Eleme<code assist> in front of an annotation
- observe nothing happens

- import ElementType

- type @Target(ElementType.ME<code assist>
- observe nothing happens
Comment 1 Dani Megert CLA 2005-05-26 09:58:26 EDT
*** Bug 96765 has been marked as a duplicate of this bug. ***
Comment 2 Dani Megert CLA 2005-05-26 09:58:42 EDT
*** Bug 96774 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2005-05-26 09:58:42 EDT
*** Bug 96770 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2005-05-26 10:16:08 EDT
*** Bug 96783 has been marked as a duplicate of this bug. ***
Comment 5 David Audel CLA 2005-06-03 12:03:39 EDT
bug 96765, bug 96774, bug 96770 and bug 96783 are not duplicate of this bug but
duplicate of 96765
Comment 6 David Audel CLA 2005-06-03 12:25:36 EDT
With the following test cases code assist work
-------------------------------
import java.lang.annotation.*;
@Target(Elem
-------------------------------
import java.lang.annotation.*;
@Target(ElementType.ME
------------------------------

If you remove the import statement then code assis doesn't work because 'Target'
cannot be resolved.
Comment 7 David Audel CLA 2005-06-06 06:43:40 EDT
Code Assist works when Target can be resolved.

We will investigate post 3.1 if we propose annotation arguments when Target is
unresolved.

Later
Comment 8 Eclipse Webmaster CLA 2009-08-30 02:42:12 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.