code: private static boolean isPotentialVarArgsMethod(Method method, Object[] arguments) {
          return doesParameterTypesMatchForVarArgsInvocation(method.isVarArgs(), method.getParameterTypes(), arguments);
      }
docs: Checks if is potential var args method.
  
  @param method    the method
  @param arguments the arguments
  @return true, if is potential var args method