@Override
  public void handleAdditionalLibraryRootsChanged(@NotNull Project project,
                                                  @Nls @Nullable String presentableLibraryName,
                                                  @NotNull Collection<? extends VirtualFile> oldRoots,
                                                  @NotNull Collection<? extends VirtualFile> newRoots,
                                                  @NotNull String libraryNameForDebug) {
    DirectoryIndex directoryIndex = DirectoryIndex.getInstance(project);
    if (directoryIndex instanceof DirectoryIndexImpl) {
      ((DirectoryIndexImpl)directoryIndex).reset();
    }
    ((WorkspaceFileIndexEx)WorkspaceFileIndex.getInstance(project)).getIndexData().resetCustomContributors();
    additionalLibraryRootsChanged(project, presentableLibraryName, oldRoots, newRoots, libraryNameForDebug);
  }
@Override
  public void handleAdditionalLibraryRootsChanged(@NotNull Project project,
                                                  @Nls @Nullable String presentableLibraryName,
                                                  @NotNull Collection<? extends VirtualFile> oldRoots,
                                                  @NotNull Collection<? extends VirtualFile> newRoots,
                                                  @NotNull String libraryNameForDebug)