io.github.sskorol.model.DataSupplierMetaData Maven / Gradle / Ivy
package io.github.sskorol.model;
import io.github.sskorol.core.DataSupplier;
import io.github.sskorol.utils.ReflectionUtils;
import one.util.streamex.EntryStream;
import one.util.streamex.IntStreamEx;
import org.testng.ITestContext;
import org.testng.ITestNGMethod;
import java.lang.reflect.Method;
import java.util.List;
import static io.github.sskorol.utils.ReflectionUtils.invokeDataSupplier;
import static io.github.sskorol.utils.ReflectionUtils.streamOf;
import static java.util.Collections.singletonList;
import static java.util.Optional.ofNullable;
/**
* Base container for DataSupplier meta data.
*/
@SuppressWarnings("FinalLocalVariable")
public class DataSupplierMetaData {
private final List