Bug 315820

Summary: Support declaration of multiple annotations using one declare statement
Product: [Tools] AspectJ Reporter: Chad La Joie <clajoie>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: aclement
Version: 1.6.8   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Chad La Joie CLA 2010-06-04 15:12:43 EDT
Build Identifier: Spring ToolSuite Version: 2.3.2.RELEASE

Current it is not possible to do something like this:

declare @field : private String Foo.bar : @Foo @Bar;

instead you must do this:
declare @field : private String Foo.bar : @Foo;
declare @field : private String Foo.bar : @Bar;

clearly the later is more concise than the former.  So it would be nice if you could declare multiple annotations with a single declare statement.

Reproducible: Always
Comment 1 Andrew Clement CLA 2010-06-18 18:58:55 EDT
Initial infrastructure is in for 1.6.9.  Supporting this feature requires a change to the serialized aspect form and as I was changing the serialized form for other features of 1.6.9, I decided to build the required infrastructure to support this.  The feature doesn't currently work but when it is implemented, it can just utilize what is already in place.

I also upgraded the grammar to parse these constructs with multiple annotations.