Skip to main content

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

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


Back to the top