Skip to content

KotlinProjectStructureProvider

KotlinProjectStructureProvider provides information about the project's structure as managed by the Analysis API platform.

The project structure provider must only provide a KaModule for files/PSI elements which are included in that module's content scope. Implementations of KotlinProjectStructureProvider are encouraged to check containing files against the content scopes of candidate KaModules.

See also

Inheritors

Types

Companion

object Companion

Properties

globalLanguageVersionSettings

open val globalLanguageVersionSettings: LanguageVersionSettings

Project-global LanguageVersionSettings for source modules lacking explicit settings (such as KaNotUnderContentRootModule).

libraryLanguageVersionSettings

open val libraryLanguageVersionSettings: LanguageVersionSettings

Project-global LanguageVersionSettings for KaLibraryModules and KaLibrarySourceModules.

Functions

getImplementingModules

abstract fun getImplementingModules(module: KaModule): List<KaModule>

getModule

abstract fun getModule(element: PsiElement, useSiteModule: KaModule?): KaModule