[Analysis API Standalone] index .knm files in KotlinStaticDeclarationProvider
so `FirSymbolNamesProvider` can know about them ^KT-62910
This commit is contained in:
committed by
Space Team
parent
9c85857b68
commit
7c6870f8d2
@@ -10,6 +10,7 @@ dependencies {
|
||||
implementation(project(":analysis:project-structure"))
|
||||
implementation(project(":analysis:decompiled:decompiler-to-file-stubs"))
|
||||
implementation(project(":analysis:decompiled:decompiler-to-psi"))
|
||||
implementation(project(":analysis:decompiled:native"))
|
||||
implementation(intellijCore())
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -340,7 +340,7 @@ public class KotlinStaticDeclarationProviderFactory(
|
||||
&& file.extension != BuiltInSerializerProtocol.BUILTINS_FILE_EXTENSION -> {
|
||||
builtInDecompiler.stubBuilder
|
||||
}
|
||||
|
||||
fileType == KlibMetaFileType -> K2KotlinNativeMetadataDecompiler().stubBuilder
|
||||
else -> return null
|
||||
}
|
||||
return stubBuilder.buildFileStub(fileContent) as? KotlinFileStubImpl
|
||||
|
||||
Reference in New Issue
Block a user