void () { IndexableSetContributor contributor = new IndexableSetContributor() { @Override public @NotNull Set<VirtualFile> getAdditionalProjectRootsToIndex(@NotNull Project project) { return Set.copyOf(indexableProjectRoots); } @Override public @NotNull Set<VirtualFile> getAdditionalRootsToIndex() { return Set.copyOf(indexableRoots); } }; setUp(Collections.emptyList(), Collections.singletonList(contributor), Collections.emptyList()); }