1package org.testng.internal; 2 3import org.testng.annotations.IDataProviderAnnotation; 4 5import java.lang.reflect.Method; 6 7/** 8 * A holder for a pair of Method and IDataProviderAnnotation 9 */ 10public class DataProviderHolder { 11 Object instance; 12 Method method; 13 IDataProviderAnnotation annotation; 14 15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) { 16 this.annotation = annotation; 17 this.method = method; 18 this.instance = instance; 19 } 20} 21