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

You may do something like:
set(* *) && this(BaseClass)


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