Hi!
it would be rather nifty if one could match on actual parameters of
the annotation, but I can't seem to find a way to match annotations by
specific annotation parameters. This is what I would like to do is:

aspect SampleAspect {
  declare @field : @Sample("matches") * *: @Added;
}

so that every field annotated with @Sample whose value is "matches"
(or generally any annotation key-value) to have additional annotation
added (@Added)

thanks!

zoran
--
Human by day user by night
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to