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

That's an enhancement.  See https://bugs.eclipse.org/bugs/show_bug.cgi?id=405016.


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 
skype:matthewadams12
googletalk:matthew@xxxxxxxxxxxxxxx
http://matthewadams.me
http://www.linkedin.com/in/matthewadams

Back to the top