Would it be something like:
declare parents: hasField(@Transactional * *) implements TransactionalMarker
Cheers,
pete
On 9/15/06, Michael Nascimento <
[EMAIL PROTECTED]> wrote:
There is an undocumented AJ feature, borrowed from AW, that can do
that: hasMethod/hasField.
I really think it is time it is integrated into AJ, since questions
like these regularly pop up in this list and it was implemented in AW
and worked fine (no one ever complained about its design there).
Besides that, it is one of the main reasons that projects that use AW
cannot migrate to AJ (genesis included).
Regards,
Michael Nascimento Santos
https://genesis.dev.java.net/
http://today.java.net/pub/au/80
On 9/15/06, Peter Murray <[EMAIL PROTECTED]> wrote:
>
> I'd like to be able to add a marker interface to all classes having members
> which are annotated @Transactional. Is there a way to specify a complex
> match like that?
>
> declare parents: <classes with members which @Transactional> implements
> TransactionalMarker
>
> Any thoughts?
>
> --
> -pete
> peter m. murray
> [EMAIL PROTECTED]
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
--
-pete
peter m. murray
[EMAIL PROTECTED]
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
