All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jqwik.engine.discovery.predicates.IsProperty Maven / Gradle / Ivy

The newest version!
package net.jqwik.engine.discovery.predicates;

import java.lang.reflect.*;
import java.util.function.*;

public class IsProperty implements Predicate {
	private final static IsDiscoverableTestMethod isDiscoverableTestMethod = new IsDiscoverableTestMethod();
	private final static IsMethodAnnotatedWithProperty isMethodAnnotatedWithProperty = new IsMethodAnnotatedWithProperty();

	@Override
	public boolean test(Method method) {
		return isDiscoverableTestMethod.and(isMethodAnnotatedWithProperty).test(method);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy