title: Java seek a method with specific annotation and its annotation element
body: <p>Suppose I have this annotation class</p>
  
  <pre><code>
  @Retention(RetentionPolicy.RUNTIME)
  @Target(ElementType.METHOD)
  public @interface MethodXY {
      public int x();
      public int y();
  }
  
  public class AnnotationTest {
      @MethodXY(x=5, y=5)
      public void myMethodA(){ ... }
  
      @MethodXY(x=3, y=2)
      public void myMethodB(){ ... }
  }
  </code></pre>
  
  <p>So is there a way to look into an object, "seek" out the method with the @MethodXY annotation, where its element x = 3, y = 2, and invoke it?</p>
  
  <p>Thanks</p>