void (VirtualFilePointer @NotNull [] pointers) { //todo check if this sdk is really used in the project for (Project project : ProjectManager.getInstance().getOpenProjects()) { VirtualFilePointerListener listener = ((ProjectRootManagerImpl)ProjectRootManager.getInstance(project)).getRootsValidityChangedListener(); listener.beforeValidityChanged(pointers); } }