[LL API] Make 'KtNotUnderContentRootModuleForTest' depend on built-ins
This commit is contained in:
+2
@@ -24,6 +24,7 @@ internal class KtModuleProviderImpl(
|
||||
) : ProjectStructureProvider() {
|
||||
private val ktNotUnderContentRootModuleWithoutPsiFile by lazy {
|
||||
KtNotUnderContentRootModuleImpl(
|
||||
name = "unnamed-outside-content-root",
|
||||
moduleDescription = "Standalone-not-under-content-root-module-without-psi-file",
|
||||
project = project,
|
||||
)
|
||||
@@ -44,6 +45,7 @@ internal class KtModuleProviderImpl(
|
||||
val containingFileAsVirtualFile = containingFileAsPsiFile.virtualFile
|
||||
?: return notUnderContentRootModuleCache.getOrPut(containingFileAsPsiFile) {
|
||||
KtNotUnderContentRootModuleImpl(
|
||||
name = containingFileAsPsiFile.name,
|
||||
moduleDescription = "Standalone-not-under-content-root-module-for-$containingFileAsPsiFile",
|
||||
file = containingFileAsPsiFile,
|
||||
project = project,
|
||||
|
||||
+1
@@ -15,6 +15,7 @@ import org.jetbrains.kotlin.platform.jvm.JvmPlatforms
|
||||
import org.jetbrains.kotlin.resolve.PlatformDependentAnalyzerServices
|
||||
|
||||
internal class KtNotUnderContentRootModuleImpl(
|
||||
override val name: String,
|
||||
override val directRegularDependencies: List<KtModule> = emptyList(),
|
||||
override val directRefinementDependencies: List<KtModule> = emptyList(),
|
||||
override val directFriendDependencies: List<KtModule> = emptyList(),
|
||||
|
||||
Reference in New Issue
Block a user