private static boolean validateReturnType(@NotNull final Method method) {
final Finder f = AnnotationUtils.findAnnotation(method, Finder.class);
final boolean singleFind = !Collection.class.isAssignableFrom(method.getReturnType());
if (!singleFind) {
final Class<?> returnType = method.getReturnType();
if (!returnType.isAssignableFrom(f.returnAs())) {
throw new SpecificationViolationException(
"@Finder.returnAs value (" + f.returnAs().getName()
+ ") cannot be cast to method return type (" + returnType.getName() + ")", method
);
} else if (f.returnAs() != List.class) {