Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Henrique Rebêlo
Hi Andy, thanks for your valuable comments and suggestions. No, you can't use @withincode like that. It is not an unreasonable > requirement, so raise a bugzilla if you'd like to see it in the > future. > OK. I'll Kind Regards, Henrique On Tue, Nov 23, 2010 at 11:08 AM, Andy Clement wrote:

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Andy Clement
No, you can't use @withincode like that. It is not an unreasonable requirement, so raise a bugzilla if you'd like to see it in the future. cheers Andy 2010/11/23 Henrique Rebêlo : > Hi Andy and all, > > Yes, this documentation is helpful! Thanks. > > One more thing: Can I specify a property base

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Henrique Rebêlo
Hi Andy and all, Yes, this documentation is helpful! Thanks. One more thing: Can I specify a property based matching by using a @withincode or @annotation? For example: We can have execution(@Trace !...@trace(TraceLevel.NONE) * *(..)) So, Can we use in a similar way when using a @ withincod

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread jeanlouis.pasturel
I add my vote ;-) Cordialement / Best regards Jean-Louis Pasturel -Message d'origine- De : aspectj-users-boun...@eclipse.org [mailto:aspectj-users-boun...@eclipse.org] De la part de Andy Clement Envoyé : mardi 23 novembre 2010 17:06 À : aspectj-users@eclipse.org Objet : Re: [aspectj-us

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Andy Clement
Not sure what kind of matching you want to do (kind of joinpoint, kind of annotation value). If I understand what you mean, there is already some support for this, see the "annotation value matching" section in (this is execution joinpoint, enum annotation value): http://www.eclipse.org/aspectj/do

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Henrique Rebêlo
Hi Andy and all, Enjoying the subject of join points and annotations, I want to know if there is a possibility to match an annotated join point based on its property. However, without using the if pointcut... Thanks, Henrique On Tue, Nov 23, 2010 at 8:06 AM, Andy Clement wrote: > Annotation:

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Henrique Rebêlo
Hi Andy and all, Enjoying the subject of join points and annotations, I want to know if there is a possibility to match an annotated join point based on its property. However, without using the if pointcut... Thanks, Henrique On Tue, Nov 23, 2010 at 8:06 AM, Andy Clement wrote: > Annotation:

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Andy Clement
Annotation: - augmenting (new values in existing annotations) - replacing (of annotations/annotation values) - removal of annotations are all candidate features. First two are here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=313026 Haven't quite raised the bugzilla for the third yet, but mig

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread jeanlouis.pasturel
Ok ;-( So no possible overriding Annotations. I am also interested if it is a possible new feature ... Cordialement / Best regards Jean-Louis Pasturel -Message d'origine- De : aspectj-users-boun...@eclipse.org [mailto:aspectj-users-boun...@eclipse.org] De la part de Frank Pavageau E

Re: [aspectj-users] aspectj joinpoint *for* Annotation ?

2010-11-23 Thread Frank Pavageau
Note that you can't modify an existing annotation, which would be quite useful in that context : changing the cache strategy between read-write and read-only for example (even if you have the source, different usage patterns can use different strategies on the same entities), or the fetching strate