boolean (@NotNull VirtualFile file, boolean includeSources, boolean includeBinaries) { Set<? extends VirtualFile> roots = asSet(getRoots(includeSources, includeBinaries)); return VfsUtilCore.isUnder(file, roots) && !VfsUtilCore.isUnder(file, getExcludedRoots()); }