Allow to override isInContent in Rider index components

GitOrigin-RevId: a5112079b19af44699512e7df6aceb74e92e32d7
This commit is contained in:
Evgeniy Stepanov
2019-06-12 14:10:25 +03:00
committed by intellij-monorepo-bot
parent d3ec7993e6
commit 6ea1300552
2 changed files with 2 additions and 2 deletions
@@ -108,7 +108,7 @@ abstract class FileIndexBase implements FileIndex {
ModuleRootManager.getInstance(module).getSourceRoots()};
}
boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
protected boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
return ProjectFileIndexImpl.isFileInContent(file, info);
}
}
@@ -189,7 +189,7 @@ public class ModuleFileIndexImpl extends FileIndexBase implements ModuleFileInde
}
@Override
boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
protected boolean isInContent(@NotNull VirtualFile file, @NotNull DirectoryInfo info) {
return ProjectFileIndexImpl.isFileInContent(file, info) && myModule.equals(info.getModule());
}
}