* @author 莫小明
* @param paramType
* @param paramsValue
* @param paramValuesArr
* @param paramTypesArr
* @throws IllegalAccessException
* @throws InstantiationException
* @throws ClassNotFoundException
* @throws Exception
*/
private static void paramsValues (Class[] paramType , Object[] paramsValue ,
String[] paramValuesArr ,String[] paramTypesArr , int paramLen )
throws IllegalAccessException, InstantiationException, ClassNotFoundException, Exception
{
String ptype = "";
String pVlaue = "";
for(int i=0; i { ptype = paramTypesArr[i]; pVlaue = paramValuesArr[i]; if("int".equals(ptype)) { paramType[i] = int.class; paramsValue[i] = NULL.equals(pVlaue)? null : Integer.parseInt(pVlaue);
文章来源于领测软件测试网 https://www.ltesting.net/