@Deprecated
  public <V> V invoke(final Class<?> targetClass, final String methodName, final Object[] args) {
    checkAvailability(targetClass.getName(), methodName);
    return executeMethodOnClass(targetClass, methodName, args);
  }
Invokes a static method with an {@link Object} or {@code void} return type in this VM. If the
return type of the method is {@code void}, {@code null} is returned.

@param <V> the type returned by the method
@param targetClass The class on which to invoke the method
@param methodName The name of the method to invoke
@param args Arguments passed to the method call (must be {@link Serializable}).
@return the object returned by the method

@throws RMIException Wraps any underlying exception thrown while invoking the method in this
        {@code VM}

@deprecated Please use {@link #invoke(SerializableCallableIF)} instead
geode-dunit/src/main/java/org/apache/geode/test/dunit/VM.java