public static Object[] findMethodWithListParameters(Object service,String methodName,List<?> args){
  Object[] arguments=new Object[args.size()];
  for (int i=0; i < args.size(); i++) {
    arguments[i]=args.get(i);
  }
  return findMethodWithListParameters(service,methodName,arguments);
}

public static Object [ ] findMethodWithListParameters ( Object service , String methodName , List < ? > args ) { Object [ ] arguments = new Object [ args . size ( ) ] ; for ( int i = 0 ; i < args . size ( ) ; i ++ ) { arguments [ i ] = args . get ( i ) ; } return findMethodWithListParameters ( service , methodName , arguments ) ; }
returns ( method , params ) for the given service or ( null , null ) if no method was found .
