Bug 85115 - [1.5] AST annotation.isTopLevel() doesn't work
Summary: [1.5] AST annotation.isTopLevel() doesn't work
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 83656
  Show dependency tree
 
Reported: 2005-02-13 17:48 EST by Martin Aeschlimann CLA
Modified: 2005-02-16 10:48 EST (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 Martin Aeschlimann CLA 2005-02-13 17:48:49 EST
20050208

In the following code get the type binding of the annotation. 'isTopLevel()'
returns false, should be true.

package pack1;
public @interface Annot {

}

package pack2;
import pack1.Annot;
@Annot
public enum E {
}
Comment 1 Olivier Thomann CLA 2005-02-14 22:39:04 EST
Fixed and released in HEAD.
Regression test added in ASTConverter15Test.test0140
Comment 2 Frederic Fusier CLA 2005-02-16 10:48:26 EST
Verified using 3.1 M5 candidate build (I20040215-2300)