void (@NotNull String path) { Collection<String> paths = myPathMap.mapToOriginalWatchRoots(path, true); if (!paths.isEmpty()) { synchronized (myLock) { for (String p : paths) { myDirtyPaths.addDirtyPathRecursive(p); String parentPath = new File(p).getParent(); if (parentPath != null) { myDirtyPaths.addDirtyPath(parentPath); } } } } notifyOnEvent(path); }