How to get method argument names when invoke a method in Java
<p>For example:</p>

<p>I have a method defined like these:</p>

<pre><code>class MyController extends Controller {

   public void index() {
       String aa = "1111";
       int bb = 122;

       render("index.html", aa, bb);
   }
}
</code></pre>

<p>Now, I want to get the argument names: aa and bb to build a HashMap:</p>

<pre><code>Map map = new HashMap();
map.set("aa", aa);
map.set("bb", bb);
</code></pre>

<p>I seen many MVC frameworks can do so, how implemented? reflection or byte code hacking or compile-time processing?</p>

<p>PS: I known how to get method parameter names(by compiling with debug), but I need know method argument names when invocation.</p>
