@Override
  public WatchKey register(
      WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)
      throws IOException {
    checkNotNull(modifiers);
    return register(watcher, events);
  }
Resolves the given name against this path. The name is assumed not to be a root name.
jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java