RealKotlinEnvironment
class RealKotlinEnvironment(val projectPath: ProjectPath.StringProjectPath, val sourceSetName: SourceSetName, val classpathFiles: LazyDeferred<List<File>>, val sourceDirs: Collection<File>, val kotlinLanguageVersion: LanguageVersion?, val jvmTarget: JvmTarget, val dependencyModuleDescriptorAccess: DependencyModuleDescriptorAccess, val logger: McLogger, val resetManager: ResetManager) : KotlinEnvironment(source)
Parameters
sourceDirs
all jvm source code directories for this source set, like [...]/myProject/src/main/java
.
resetManager
used to reset caching
Constructors
Link copied to clipboard
constructor(projectPath: ProjectPath.StringProjectPath, sourceSetName: SourceSetName, classpathFiles: LazyDeferred<List<File>>, sourceDirs: Collection<File>, kotlinLanguageVersion: LanguageVersion?, jvmTarget: JvmTarget, dependencyModuleDescriptorAccess: DependencyModuleDescriptorAccess, logger: McLogger, resetManager: ResetManager)
Types
Link copied to clipboard
class Factory @Inject constructor(val dependencyModuleDescriptorAccess: DependencyModuleDescriptorAccess, val logger: McLogger) : KotlinEnvironmentFactory
Dagger implementation for KotlinEnvironmentFactory
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
.jar
files from external dependencies
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
provides the module descriptors of all dependency source sets from the current module and dependency modules
Link copied to clipboard
Link copied to clipboard
the version of Kotlin being used
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
path of the associated Gradle project
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
name of the associated SourceSet
Functions
Link copied to clipboard
Link copied to clipboard
private suspend fun createAnalysisResult(coreEnvironment: KotlinCoreEnvironment, ktFiles: List<KtFile>, dependencyModuleDescriptors: List<ModuleDescriptorImpl>): AnalysisResult
Link copied to clipboard
private fun createCompilerConfiguration(classpathFiles: List<File>, sourceFiles: List<File>, kotlinLanguageVersion: LanguageVersion?, jvmTarget: JvmTarget): CompilerConfiguration
Link copied to clipboard
private fun createKotlinCoreEnvironment(configuration: CompilerConfiguration): KotlinCoreEnvironment
Link copied to clipboard