public class FieldSupplierBuilder.AnnotationFieldSupplier<T> extends Object implements Callable<T>
| Constructor and Description |
|---|
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 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–2022. All rights reserved.