Skip to main content

AspectJ identify second call to a method

No replies
Joined: 2008-06-22

Suppose I have a method
Now I can easily write a pointcut to indentify the above method.
But what I want is to identify only the second call(or n-th call) to abc().
Is there any way for this.
To generalise it can I also find the second object creation of a specific class.