rootScope

private fun rootScope(project: Project, roots: List<Path>, opened: List<VirtualFile>, environment: CoreApplicationEnvironment): GlobalSearchScope

The library module's content scope, built here rather than left to the module builder: its default routes through VirtualFileUtil.toNioPathOrNull, and intellij-core ships a same-named facade without that method — it survives only in the @Metadata proto, so the call finds nothing and throws NoSuchMethodError the first time a module carries binary virtual files.

Containment by walking a file's parents up to a root, which is where the Analysis API landed later anyway — once StandaloneLibraryScopeConstructionMode.ParentTraversal reaches this version, this is one property.