title: Which Java method called my constructor?
body: <p>I would like to know which method or which class called the constructor of <code>MyClass</code>.</p>
  
  <pre><code>public class MyClass
  {
    private static int instCount = 0;
  
    public MyClass()
    {
      instCount++;
      System.out.println("MyClass Konstruktor wurde aufgerufen! [" + instCount + "]");
    }
  }
  </code></pre>