Class MethodReflectionUtils

java.lang.Object
org.junit.jupiter.engine.support.MethodReflectionUtils

@API(status=INTERNAL, since="6.0") public class MethodReflectionUtils extends Object
  • Constructor Details

    • MethodReflectionUtils

      public MethodReflectionUtils()
  • Method Details

    • getReturnType

      public static Class<?> getReturnType(Method method)
    • getGenericReturnType

      public static Type getGenericReturnType(Method method)
    • invoke

      public static @Nullable Object invoke(Method method, @Nullable Object target, @Nullable Object[] arguments)