Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Multiple instances of an aspect...

when using perthis(pointcut),

i have this:

class A
{
  public static void main(String args[])
  {
    (new A).do();
  }

  do()
  {
    B b = new B();
    b.do();
  }
}

class B
{
  C c = new C();
  c.do();
}

if i use perthis(call * *(..))

only i can log the A class, no B class...


Back to the top