void () { final Collection<VirtualFile> vfColl = Arrays.stream(myContentRoots).map(FilePath::getVirtualFile) .filter(Objects::nonNull).collect(Collectors.toList()); myDirtyScopeManager.filesDirty(vfColl, null); }