title: Get annotation of function reference
body: <p>I would like to do so something like this:</p>
  
  <pre><code>foo(functionOfSomeObject)
  {
      call functionOfSomeObject;
      get some annotations of functionOfSomeObject;
  }
  </code></pre>
  
  <p>I dont want to use the <code>Method</code> class to pass <code>functionOfSomeObject</code> as this has to be retrieved by strings/reflection. Instead i would like to use a functional interface and lambda expressions like <code>myObject::method</code>. But is there a way to get the method annotations with this approach?</p>
  
  <p>Thanks for your help!</p>