private static Class<?>[] classesForParams(List<String> params){
  Class<?>[] result=new Class<?>[params.size()];
  for (int i=0; i < params.size(); i++) {
    result[i]=classForParam(params.get(i));
  }
  return result;
}

private static Class < ? > [ ] classesForParams ( List < String > params ) { Class < ? > [ ] result = new Class < ? > [ params . size ( ) ] ; for ( int i = 0 ; i < params . size ( ) ; i ++ ) { result [ i ] = classForParam ( params . get ( i ) ) ; } return result ; }
turn an array of strings ( class names ) into an array of class objects
