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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy