Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Capturing change to array elements

Hi! Does any one know how to capture any change to
array elements? For example:

class Test
{
  public static int[] a = new int[5];
  ...
  public static void main(String[] argv)
  {
    ...
    a[1] = 1;  // How to add a pointcut before/after
the execution of this statement?
    ...
  }
}

Thanks in advance!



Regards,
Thomas Huining Feng

----
MSDL, McGill, Montreal, QC Canada

Homepage: http://msdl.cs.mcgill.ca/people/tfeng/

_________________________________________________________
Do You Yahoo!? 
雅虎电邮:远离病毒、垃圾困扰!
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com


Back to the top