KaDanglingFileModuleImpl¶
class KaDanglingFileModuleImpl(
files: List<KtFile>,
val contextModule: KaModule,
val resolutionMode: KaDanglingFileResolutionMode
) : KaDanglingFileModule, KaModuleBase
The default implementation of the dangling file module, which provides all knowledge from the context module. Note that if you need custom behavior, you should create a custom implementation of a KaDanglingFileModule, as the Analysis API treats this implementation specially (by allowing certain performance optimizations).
Constructors¶
KaDanglingFileModuleImpl¶
constructor(
files: List<KtFile>,
contextModule: KaModule,
resolutionMode: KaDanglingFileResolutionMode
)
Properties¶
baseContentScope¶
open override val baseContentScope: GlobalSearchScope
contentScope¶
open val contentScope: GlobalSearchScope
contextModule¶
open override val contextModule: KaModule
directDependsOnDependencies¶
open override val directDependsOnDependencies: List<KaModule>
directFriendDependencies¶
open override val directFriendDependencies: List<KaModule>
directRegularDependencies¶
open override val directRegularDependencies: List<KaModule>
files¶
isCodeFragment¶
open override val isCodeFragment: Boolean
isValid¶
moduleDescription¶
open override val moduleDescription: String
platformKind¶
See also
project¶
open override val project: Project
resolutionMode¶
open override val resolutionMode: KaDanglingFileResolutionMode
stableModuleName¶
open val stableModuleName: String?
targetPlatform¶
open override val targetPlatform: TargetPlatform
transitiveDependsOnDependencies¶
open override val transitiveDependsOnDependencies: List<KaModule>
Functions¶
areCompilerPluginsSupported¶
asDebugString¶
fun KaModule.asDebugString(indent: Int = 0): String
equals¶
hashCode¶
publishCodeFragmentContextModificationEvent¶
Publishes a KotlinCodeFragmentContextModificationEvent for this KaModule. Must be called in a write action.
publishModuleOutOfBlockModificationEvent¶
Publishes a KotlinModuleOutOfBlockModificationEvent for this KaModule. Must be called in a write action.
publishModuleStateModificationEvent¶
fun KaModule.publishModuleStateModificationEvent(modificationKind: KotlinModuleStateModificationKind)
Publishes a KotlinModuleStateModificationEvent for this KaModule. Must be called in a write action.