@ SuppressWarnings ( "unchecked" ) protected void messageParameters ( Object [ ] args ) { for ( int i = 0 ; i < args . length ; i ++ ) { if ( args [ i ] instanceof Holder && params [ i ] . getNoByRef ( ) != null ) { // massage the value of Holder, not the Holder itself Holder h = ( Holder ) args [ i ] ; h . value = params [ i ] . getNoByRef ( ) . toNative ( h . value ) ; } else { args [ i ] = params [ i ] . toNative ( args [ i ] ) ; } } }
Converts the parameters to be more native friendly .