public class FieldSupplierBuilder.AnnotationFieldSupplier<T> extends Object implements Callable<T>
Constructor and Description |
---|
FieldSupplierBuilder.AnnotationFieldSupplier() |
Modifier and Type | Method and Description |
---|---|
Callable<T> |
andAnnotatedWith(Class<? extends Annotation> annotationType)
Find a field based on a name, type and annotation.
|
T |
call() |
public FieldSupplierBuilder.AnnotationFieldSupplier()
public Callable<T> andAnnotatedWith(Class<? extends Annotation> annotationType)
await().until(fieldIn(object).ofType(int.class).andWithName("fieldName").andAnnotatedWith(MyAnnotation.class), equalTo(2));
annotationType
- The type of the annotationCopyright © 2010-2014. All Rights Reserved.