cucumber.runtime.io.Reflections Maven / Gradle / Ivy
package cucumber.runtime.io;
import java.lang.annotation.Annotation;
import java.util.Collection;
public interface Reflections {
Collection> getAnnotations(String packageName);
Collection> getDescendants(Class parentType, String packageName);
T instantiateExactlyOneSubclass(Class parentType, String packageName, Class[] constructorParams, Object[] constructorArgs);
Collection extends T> instantiateSubclasses(Class parentType, String packageName, Class[] constructorParams, Object[] constructorArgs);
}