void (List<AdditionalLibraryRootsProvider> providers, List<IndexableSetContributor> contributors, List<DirectoryIndexExcludePolicy> policies) { ApplicationManager.getApplication().runWriteAction(() -> { ((ExtensionPointImpl<@NotNull AdditionalLibraryRootsProvider>)AdditionalLibraryRootsProvider.EP_NAME.getPoint()). maskAll(providers, disposableRule.getDisposable(), true); ((ExtensionPointImpl<@NotNull IndexableSetContributor>)IndexableSetContributor.EP_NAME.getPoint()). maskAll(contributors, disposableRule.getDisposable(), true); ((ExtensionPointImpl<@NotNull DirectoryIndexExcludePolicy>)DirectoryIndexExcludePolicy.EP_NAME.getPoint(getProject())). maskAll(policies, disposableRule.getDisposable(), true); fireRootsChangedTotalRescan(RootsChangeRescanningInfo.TOTAL_RESCAN); }); }