[Analysis API] Minor, tune the 'createModule()' signature

Move the 'dependencyPaths' parameter closer to other traits of
a created module.
This commit is contained in:
Yan Zhulanow
2024-01-30 04:58:39 +09:00
committed by Space Team
parent 6a94a3331f
commit b925462852
9 changed files with 12 additions and 10 deletions
@@ -67,9 +67,9 @@ private object KtOutOfContentRootModuleFactory : KtModuleFactory {
override fun createModule(
testModule: TestModule,
contextModule: KtModuleWithFiles?,
dependencyPaths: Collection<Path>,
testServices: TestServices,
project: Project,
dependencyPaths: Collection<Path>,
): KtModuleWithFiles {
val psiFiles = TestModuleStructureFactory.createSourcePsiFiles(testModule, testServices, project)
val platform = testModule.targetPlatform
@@ -29,9 +29,9 @@ private object KtStdlibSourceModuleFactory : KtModuleFactory {
override fun createModule(
testModule: TestModule,
contextModule: KtModuleWithFiles?,
dependencyPaths: Collection<Path>,
testServices: TestServices,
project: Project,
dependencyPaths: Collection<Path>,
): KtModuleWithFiles {
val libraryJar = ForTestCompileRuntime.runtimeJarForTests().toPath()
val librarySourcesJar = ForTestCompileRuntime.runtimeSourcesJarForTests().toPath()