A method can only be hooked once per class hierarchy

78 views Asked by At

When I use Aspects, I hook a method in a superClass, then I hook the method in a subClass, I get "A method can only be hooked once per class hierarchy". why I can't hook both them? Thank!

0

There are 0 answers