KaResolutionScope¶
abstract class KaResolutionScope : GlobalSearchScope
The resolution scope for a KaModule. It determines the PSI elements that can be resolved in the context of an analysis session.
A resolution scope is mainly built from its use-site module's KaModule.contentScope and its dependencies' content scopes.
Constructors¶
KaResolutionScope¶
constructor()
Types¶
Companion¶
object Companion
Properties¶
displayName¶
@get:Nls(capitalization = Nls.Capitalization.Sentence)
@get:NotNull
open val displayName: @Nls(capitalization = Nls.Capitalization.Sentence) @NotNull String
icon¶
isForceSearchingInLibrarySources¶
open val isForceSearchingInLibrarySources: Boolean
isSearchInLibraries¶
abstract val isSearchInLibraries: Boolean
project¶
@get:Nullable
open val project: @Nullable Project?
underlyingSearchScope¶
abstract val underlyingSearchScope: GlobalSearchScope
The underlying GlobalSearchScope that covers all physical files contained in the resolution scope. Only intended for test purposes.
unloadedModulesBelongingToScope¶
@get:NotNull
open val unloadedModulesBelongingToScope: @NotNull Collection<UnloadedModuleDescription?>
Functions¶
accept¶
and¶
open fun and(other: @NotNull VirtualFileFilter): @NotNull VirtualFileFilter
compare¶
contains¶
Checks whether a PsiElement is contained in the resolution scope, i.e., the containing file is present in the resolution scope.
hashCode¶
intersectWith¶
open fun intersectWith(scope: @NotNull GlobalSearchScope): @NotNull GlobalSearchScope
open fun intersectWith(localScope2: @NotNull LocalSearchScope): @NotNull LocalSearchScope
open fun intersectWith(scope2: @NotNull SearchScope): @NotNull SearchScope
isSearchInModuleContent¶
abstract fun isSearchInModuleContent(p0: @NotNull Module): Boolean
open fun isSearchInModuleContent(aModule: @NotNull Module, testSources: Boolean): Boolean
toFullString¶
open fun toFullString(): @NotNull String
union¶
open fun union(scope: @NotNull LocalSearchScope): @NotNull GlobalSearchScope
open fun union(scope: @NotNull SearchScope): @NotNull GlobalSearchScope
uniteWith¶
open fun uniteWith(scope: @NotNull GlobalSearchScope): @NotNull GlobalSearchScope