private void storeArgs ( Method method , Array methodArgs ) { Class [ ] pmt = method . getParameterTypes ( ) ; Method [ ] args ; synchronized ( methodArgs ) { Object o = methodArgs . get ( pmt . length + 1 , null ) ; if ( o == null ) { args = new Method [ 1 ] ; methodArgs . setEL ( pmt . length + 1 , args ) ; } else { Method [ ] ms = ( Method [ ] ) o ; args = new Method [ ms . length + 1 ] ; for ( int i = 0 ; i < ms . length ; i ++ ) { args [ i ] = ms [ i ] ; } methodArgs . setEL ( pmt . length + 1 , args ) ; } } args [ args . length - 1 ] = method ; }
stores arguments of a method