private static WatchEvent<Object> overflowEvent(int count) {
      return new Event<>(OVERFLOW, count, null);
    }
Implementation of {@link WatchKey} for an {@link AbstractWatchService}.
jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java