net.jqwik.engine.discovery.predicates.IsTopLevelClass Maven / Gradle / Ivy
package net.jqwik.engine.discovery.predicates;
import java.util.function.*;
public class IsTopLevelClass implements Predicate> {
@Override
public boolean test(Class> candidate) {
return candidate.getDeclaringClass() == null;
}
}