title: Get callers method (java.lang.reflect.Method)
body: <p>I would like to get the calling method <code>java.lang.reflect.Method</code>. <strong>NOT</strong> the name of the method.</p>
  
  <p>Here is an example how to get the callers Class.</p>
  
  <pre><code>// find the callers class
  Thread t = Thread.getCurrentThread();
  Class&lt;?&gt; klass = Class.forName(t.getStackTrace()[2].getClassName());
  // do something with the class (like processing its annotations)
  ... 
  </code></pre>
  
  <p>It's for testing purpose only! </p>