[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] setting local field joinpoints
|
- From: Irum Godil <softwarengineer2004@xxxxxxxxx>
- Date: Tue, 25 Jan 2005 06:30:09 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Delivered-to: aspectj-users@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Olfa/RSB8fnMyYmK6AA8KF3lzK6ySR5lRY1bT/Uj27ZDEWEtqD+86oA+cIGouubwkIRnSG/y1SczTd1PQ4cGBpP5A2Ous2RK1Wo2adC++MuIWjSP9JTv9uJJF9ysl9xCm4dRSGI09+Di7JryuBux0lb08ZVR/NlFLvGgQxoEHCE= ;
What kind of refactoring is required to capture these?
thanks.
pope <alexandru.popescu@xxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[quote Irum Godil::on 1/25/2005 6:34 AM]
| Hi,
|
| Is there a way to capture a pointcut where a local field inside a method is being set. For
instance, if I have the following:
|
| public void aMethod() {
|
| int x = 2;
| ...
|
| }
|
| is there a way I can access the point where "x" is being set? It seems the pointcuts "get" and
"set" only work for instance variables.
|
| thanks.
|
|
| ---------------------------------
| Do you Yahoo!?
| Yahoo! Mail - Helps protect you from nasty viruses.
Local variable assignments are not exposed directly to pointcuts. However with a little refactoring
you will be able to *capture* those too.
- --
:pope
[the_mindstorm]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0
(MingW32)
iD8DBQFB9fE2TTDTje0R2dgRAhavAKCIYVO/R8XIaPKqMxV0oIpMG9vh3QCghxEn
K+1/j8fX96/AzCn6aKuIYuk=
=R4Z3
-----END PGP SIGNATURE-----
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'