awaitility/src/main/java/org/awaitility/reflect/FieldNameAndTypeMatcherStrategy.java
@Override
    public void notFound(Class<?> type, boolean isInstanceField) throws FieldNotFoundException {
        throw new FieldNotFoundException(String.format(
                "No %s field with name \"%s\" and type \"%s\" could be found in the class hierarchy of %s.",
                isInstanceField ? "instance" : "static", fieldName, fieldType.getName(), type.getName()));
    }
@Override
    public void notFound(Class<?> type, boolean isInstanceField) throws FieldNotFoundException {
        throw new FieldNotFoundException(String.format(
                "No %s field with name \"%s\" and type \"%s\" could be found in the class hierarchy of %s.",
                isInstanceField ? "instance" : "static", fieldName, fieldType.getName(), type.getName()));
    }
@ Override public void notFound ( Class < ? > type , boolean isInstanceField ) throws FieldNotFoundException { throw new FieldNotFoundException ( String . format ( "No %s field with name \"%s\" and type \"%s\" could be found in the class hierarchy of %s." , isInstanceField ? "instance" : "static" , fieldName , fieldType . getName ( ) , type . getName ( ) ) ) ; }
{@inheritDoc}
{