void (@NotNull RootType rootType, @NotNull PluginDescriptor pluginDescriptor) { myIndex.resetIndex(); processOpenFiles((file, manager) -> { if (getRootType(file) == rootType) { rootType.fileOpened(file, manager); } }); for (Project project : ProjectManager.getInstance().getOpenProjects()) { FileContentUtil.reparseFiles(project, Collections.emptyList(), true); } }