title: Is there a way to obtain names of method parameters in Java?
body: <p>I'm writing small and very <a href="http://en.wikipedia.org/wiki/DRY" rel="noreferrer">DRY</a> framework, which heavily relies on metadata. I'd like to know if there is a way to obtain method parameter names, i.e. given some method</p>
  
  <pre><code>public void a(int myIntParam, String theString) { ... }
  </code></pre>
  
  <p>get the strings <code>"myIntParam"</code> and <code>"theString"</code>.</p>
  
  <p>I know I could annotate parameters, but that wouldn't be nice...</p>
  
  <pre><code>public void a(
      @Param("myIntParam") int myIntParam,
      @Param("theString") String theString
  ) { ... }
  </code></pre>