net.jqwik.engine.hooks.lifecycle.MethodParameterResolver Maven / Gradle / Ivy
package net.jqwik.engine.hooks.lifecycle;
import java.lang.reflect.*;
import java.util.*;
import net.jqwik.api.lifecycle.*;
import net.jqwik.api.lifecycle.ResolveParameterHook.*;
class MethodParameterResolver {
static Object[] resolveParameters(Method method, LifecycleContext context) {
Optional optionalTry =
context instanceof TryLifecycleContext
? Optional.of((TryLifecycleContext) context)
: Optional.empty();
List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy