Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Join point for directly accessing a field?

If I have the following:

public static class A {
   public static int a = 42;
}

class B {
   void b {
      System.out.println(A.a);
   }
}

What pointcut would define the join point accessing class A's field?  In other words, how do I add advice to the use of A.a?

Back to the top