Class MethodUtils

java.lang.Object
org.antublue.test.engine.internal.util.MethodUtils

public class MethodUtils extends Object
Class to implement Method utilities
  • Method Details

    • invoke

      public static void invoke(Object object, Method method, Consumer<Throwable> throwableConsumer)
      Method to invoke a method
      Parameters:
      object - object
      method - method
      throwableConsumer - throwableConsumer
    • invoke

      public static void invoke(Object object, Method method, Object[] arguments, Consumer<Throwable> throwableConsumer)
      Method to invoke a method
      Parameters:
      object - object
      method - method
      arguments - arguments
      throwableConsumer - throwableConsumer