[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] within aspect or class
|
- From: Ramnivas Laddad <ramnivas@xxxxxxxxxxxxxxx>
- Date: Wed, 18 Feb 2009 11:35:31 -0500
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=hGu/R3c/o+NIQ36mSQqGlh4UxvvZCXLp9kAjJf02u00=; b=Z5P/gdDwZBCPI3+7tfcQHTgMYF+2SqufEBpTyrby1RlqLYfJFXTtNZa8mt1bNrPoy7 RYYwO+CwhFEIKFYyLOrPrIm7Jr/it/EEo32OapdaCSvRRG+rArAemuD5oR2qxWa0J+NV oRi+Wai01P8wjuy4aN/+6vzQwNS4A4CH9ENGs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=pi1ouH+rNcnGJ62Db3nRgbopm0TfZG4X4Mw+uvq7CI5luyRloLy+HEV4nnNpDL4NJu RxwRS/wj4dB4U5wLpkT6E7Fx542bEe8c13TYJFTZT8BTCvNl8v6zsxjhDox7TF1V6F1h NCXzWmv0PsTsXRO9vbDI8Q6HxJkXjKeZkV//Q=
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
>
>