Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Capture current value for set pointcut

Thanks, I feared as much!

-----aspectj-users-bounces@xxxxxxxxxxx wrote: -----

>To: aspectj-users@xxxxxxxxxxx
>From: "Eric Bodden" <eric.bodden@xxxxxxxxxxxxxx>
>Sent by: aspectj-users-bounces@xxxxxxxxxxx
>Date: 06/16/2008 02:53PM
>Subject: Re: [aspectj-users] Capture current value for set pointcut
>
>> Field field = getField(thisJoinPoint.getSignature());
>>                        Object oldValue = field.get(o);
>>
>
>with getField defined as:
>
>          private Field getField(Signature signature) {
>               Field field =
>signature.getDeclaringType().getDeclaredField(signature.getName());
>               field.setAccessible(true);
>               return field;
>          }
>
>Eric
>
>-- 
>Eric Bodden
>Sable Research Group
>McGill University, MontrĂ©al, Canada
>_______________________________________________
>aspectj-users mailing list
>aspectj-users@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
---

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.


Back to the top