可不可以写一个通用的使用简单的方法来得到当前函数的参数值列表?如下面的例子,fun(int i, int k)中的getCurrMthArguments()得出来的ArrayList中有1,3。
要求实现  ArrayList getCurrMthArguments()       public ArrayList getCurrMthArguments()
       {
        //...要求实现这个函数。
       }
       private void testfun(int y1)
       {
            fun(1, 3)
       }
       private void fun(int i, int k)
       {
            ArrayList l = getCurrMthArguments();
       }