Bug 85115

Summary: [1.5] AST annotation.isTopLevel() doesn't work
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nall
Version: 3.0   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 83656    

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)