private boolean isNotValid(final T t) {
    if (t == null || !validator.test(t)) return true;
    for (final Class<?> aClass : classes) {
      if (!aClass.isInstance(t)) return true;
    }
    return false;
  }
private boolean isNotValid(final T t)