Bug 315820 - Support declaration of multiple annotations using one declare statement
Summary: Support declaration of multiple annotations using one declare statement
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.8   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 15:12 EDT by Chad La Joie CLA
Modified: 2010-06-18 18:58 EDT (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 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.