Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Multiple annotations using single declare @type?

Oh, yeah.  I knew it was out there...

On Thu, Aug 16, 2012 at 1:08 PM, Andy Clement <andrew.clement@xxxxxxxxx> wrote:
Hi Matthew,

I guess you mean https://bugs.eclipse.org/bugs/show_bug.cgi?id=356594
- which you raised :)

I just had a quick look and added a testcase but the implementation
isn't as trivial as I'd hoped.  A lot of infrastructure is just
dealing with one annotation per declare anno statement.

cheers,
Andy

On 16 August 2012 07:13, Matthew Adams <matthew@xxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> I recall this was a question a couple of years ago.
>
> Can you now use a single "declare @type" statement to introduce several
> annotations at once?  That way, instead of:
>
> declare @type : org.example.foo.Bar+ : @Goo;
> declare @type : org.example.foo.Bar+ : @Hoo;
>
> you could write:
>
> declare @type : org.example.foo.Bar+ : @Goo, @Hoo;
>
> Thanks,
> Matthew
> --
> mailto:matthew@xxxxxxxxxxxxxxx
> skype:matthewadams12
> googletalk:matthew@xxxxxxxxxxxxxxx
> http://matthewadams.me
> http://www.linkedin.com/in/matthewadams
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



--
mailto:matthew@xxxxxxxxxxxxxxx 
skype:matthewadams12
googletalk:matthew@xxxxxxxxxxxxxxx
http://matthewadams.me
http://www.linkedin.com/in/matthewadams


Back to the top