public TBase < ? , ? > newArgs ( List < Object > args ) { requireNonNull ( args , "args" ) ; final TBase < ? , ? > newArgs = newArgs ( ) ; final int size = args . size ( ) ; for ( int i = 0 ; i < size ; i ++ ) { ThriftFieldAccess . set ( newArgs , argFields [ i ] , args . get ( i ) ) ; } return newArgs ; }
Returns a new arguments instance .