Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Annotation Values in Matching Expressions

I have the array support just about done, but then I got a bit bogged down in the rest of the proposal that Matthew discusses in the bugzilla he referenced.  I'll try and get that array support out soon.

cheers
Andy


On 13 April 2013 22:09, Matthew Adams <matthew@xxxxxxxxxxxxxxx> wrote:


On Fri, Apr 12, 2013 at 6:43 PM, Jay Roberts <pudakai@xxxxxxxxx> wrote:
Hi,

I'd like to be able to do something like:

@Around("execution(@javax.ws.rs.Consumes({MediaType.MULTIPART_FORM_DATA}) *  *.*(..))")


where the matching uses the value of an annotation element.

The compiler recognizes what I'd like to do, but admits:

[ERROR] Compiler limitation: annotation value support not implemented for type java.lang.String[]

So I'm wondering one of two things:

1) Is this going to be implemented anytime soon?

2) Is there any sort of workaround to make this happen?

Thanks!

Jay Roberts


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users




--
mailto:matthew@xxxxxxxxxxxxxxx 

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top