code: public <T> NameAndAnnotationFieldSupplier<T> ofType(Class<T> fieldType) {
          this.expectedFieldType = fieldType;
          return new NameAndAnnotationFieldSupplier<T>();
      }
docs: Find a field based on a type. E.g.
  <p>&nbsp;</p>
  <code>
  await().until(fieldIn(object).ofType(int.class), equalTo(2));
  </code>
  <p>&nbsp;</p>
  You can also specify the field more accurately by continuing the statement:
  E.g.
  <code>
  await().until(fieldIn(object).ofType(int.class).andWithName("fieldName"), equalTo(2));
  </code>
  <p>&nbsp;</p>
  or
  <p>&nbsp;</p>
  <code>
  await().until(fieldIn(object).ofType(int.class).andAnnotatedWith(MyAnnotation.class).andWithName("fieldName"), equalTo(2));
  </code>
  
  @param fieldType The type of the field.
  @param <T>       The type of the field
  @return The field supplier