private static boolean areMethodArgsCompatible(Class[] argTypes,Object[] args){
  for (int i=0; i < args.length; i++) {
    Object arg=args[i];
    Class argType=wrap(argTypes[i]);
    if (arg != null && !argType.isAssignableFrom(arg.getClass()))     return false;
  }
  return true;
}

private static boolean areMethodArgsCompatible ( Class [ ] argTypes , Object [ ] args ) { for ( int i = 0 ; i < args . length ; i ++ ) { Object arg = args [ i ] ; Class argType = wrap ( argTypes [ i ] ) ; if ( arg != null && ! argType . isAssignableFrom ( arg . getClass ( ) ) ) return false ; } return true ; }
determines whether specified method arguments are compatible with given method parameter definitions .
