public class HasAnnotation extends Object implements Predicate<TestMethod>
TestMethod
has a specific annotation, either on the
method or on the containing class.
Not needed for 1.0 SDK.Constructor and Description |
---|
HasAnnotation(Class<? extends Annotation> annotationClass) |
public HasAnnotation(Class<? extends Annotation> annotationClass)
public boolean apply(TestMethod testMethod)
apply
in interface Predicate<TestMethod>