Bug 82765 - add ASM support for Java 5 annotations and enums
Summary: add ASM support for Java 5 annotations and enums
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: IDE (show other bugs)
Version: 1.2.1 M1   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 1.5.0 M2   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 12:09 EST by Mik Kersten CLA
Modified: 2005-03-24 11:36 EST (History)
0 users

See Also:


Attachments
Screenshot of the structure model (54.24 KB, image/jpeg)
2005-03-24 08:24 EST, Andrew Clement CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mik Kersten CLA 2005-01-13 12:09:27 EST
These new Java 5 constructs need to be generted properly and represented in 
the IHierarchy.
Comment 1 Andrew Clement CLA 2005-01-20 05:43:29 EST
Some of the constructs have started appearing with the compiler upgrade.

Enums/annotations are IProgramElement kinds and are added correctly to the ASM.

Yesterday enum values turned out to be a problem as the compiler captures an
enum value as a fielddeclaration with a null type (and it relies on the null
type to identify them) - so I've put some fixes in to add enum value as a
iprogramelement kind and cope with the null type.  Now matt tells me there is a
problem with annotations too...
Comment 2 Adrian Colyer CLA 2005-03-23 09:14:08 EST
just to check there's nothing hanging out here before we close out m2...
Comment 3 Andrew Clement CLA 2005-03-24 08:24:49 EST
Created attachment 19155 [details]
Screenshot of the structure model

I've put the enum and annotation icons into the ajde structure area and made
them available through the icon registry in AJDE.  I've attached a screenshot
showing the new stuff :)
Comment 4 Andrew Clement CLA 2005-03-24 11:36:04 EST
Fixed in aspectj, available on download page:

aspectj-DEVELOPMENT-20050324155000.jar

will also be in the new AJDT build available imminently.