BuiltinsVirtualFileProviderBaseImpl¶
abstract class BuiltinsVirtualFileProviderBaseImpl : BuiltinsVirtualFileProvider
A BuiltinsVirtualFileProvider that discovers built-in files as resources of its own class loader.
Implementors only have to map a resource java.net.URL to a VirtualFile of the file system they operate on; locating the built-in resources and building the search scope are handled here.
Constructors¶
BuiltinsVirtualFileProviderBaseImpl¶
constructor()
Functions¶
createBuiltinsScope¶
open override fun createBuiltinsScope(project: Project): GlobalSearchScope
Creates a search scope covering exactly the files of getBuiltinVirtualFiles.
The scope is not a part of any module content, as built-ins do not belong to the analyzed project.
getBuiltinVirtualFiles¶
open override fun getBuiltinVirtualFiles(): Set<VirtualFile>
Returns the virtual files of all built-in declaration files.