title: How to use getMethod() with primitive types?
body: <p>This is the class:</p>
  
  <pre><code>class Foo {
    public void bar(int a, Object b) {
    }
  }
  </code></pre>
  
  <p>Now I'm trying to get "reflect" this method from the class:</p>
  
  <pre><code>Class c = Foo.class;
  Class[] types = { ... }; // what should be here?
  Method m = c.getMethod("bar", types);
  </code></pre>