Bug 89744 - Code assist doesn't work to add missing type in annotation Retention
Summary: Code assist doesn't work to add missing type in annotation Retention
Status: RESOLVED DUPLICATE of bug 88298
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: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 18:58 EST by Olivier Thomann CLA
Modified: 2005-04-13 10:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2005-03-30 18:58:41 EST
Using 20050330-0500, try to code assist in the following code.

import java.lang.annotation.Retention;

@Retention(RetentionPolicy<CODE ASSIST HERE>.RUNTIME)
@interface Nested {
    String name() default "Hans";
    N2 nest();
}

@interface N2 {
    Nested n2() default @Nested(name="Haus", nest= @N2);
}

It doesn't work. I would expect to get a proposal to import
java.lang.annotation.RetentionPolicy.
Comment 1 David Audel CLA 2005-04-13 10:05:38 EDT

*** This bug has been marked as a duplicate of 88298 ***