title: AspectJ stackoverflowerror due to infinite loop
body: <p>I am instrumenting a 3rd-party application - and have defined the following pointcut</p>
  
  <pre><code>@Aspect
  public class MyAspect {
  
      @Pointcut("execution(some.app.Application.new(..))")
      public void appCreation() {
      }
  
      @After("appCreation()")
      public void afterCreation() {
          MyUtil.doSomething();
      }  
  }
  </code></pre>
  
  <p>Now the problem comes from the fact that <code>MyUtil.doSomething()</code> eventually calls the constructor of <code>some.app.Application</code> - this is of course then "detected" by my aspect and <code>MyUtil.doSomething()</code> is called again and it calls .... you got the point.</p>
  
  <p>I tried to put a <code>&amp;&amp; !within(MyAspect)</code> in the Pointcut definition but it did not help. Is there any way to suppress the detection of the pointcut in the cases where <code>MyUtil</code> is further up the call stack?</p>
  
  <p>If it is relevant: <code>MyUtil.doSomething()</code> is not calling the application constructor directly but after a couple of intermediate calls</p>