net.jqwik.engine.discovery.predicates.IsScannableContainerClass Maven / Gradle / Ivy
package net.jqwik.engine.discovery.predicates;
import java.util.function.*;
import static org.junit.platform.commons.support.ModifierSupport.*;
public class IsScannableContainerClass implements Predicate> {
private static final IsTestContainer isTestContainer = new IsTestContainer();
@Override
public boolean test(Class> candidate) {
if (isPrivate(candidate))
return false;
return isTestContainer.test(candidate);
}
}