Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] within aspect or class

Thanks, I thought this() was only for capturing context, but that will work!

Mike

On Wed, Feb 18, 2009 at 10:35 AM, Ramnivas Laddad <ramnivas@xxxxxxxxxxxxxxx> wrote:
You may do something like:
set(* *) && this(BaseClass)

-Ramnivas

On Wed, Feb 18, 2009 at 8:53 AM, Michael McCray <mike@xxxxxxxxxxxxxxxxx> wrote:
> Hi All,
>
> When I use within(...), for an aspect that is introducing a method to
> another class, it seems that the within applies to the aspect as opposed to
> the class that a method is being introduced to.  Is there a way to specify
> an aspect applies to all "sets" of a class's fields example: set(*
> BaseClass+.*) from methods of that class hierarchy, whether they be locally,
> or introduced methods?
>
> Thanks,
> Mike
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top