[LL] Implement LLFirResolveExtensionToolDeclarationProvider.computePackageNames
^KT-62553
This commit is contained in:
committed by
Space Team
parent
04f4d39877
commit
c92396069a
+8
-1
@@ -249,7 +249,14 @@ class LLFirResolveExtensionToolDeclarationProvider internal constructor(
|
||||
.mapNotNullTo(mutableListOf()) { it.kotlinFile.script }
|
||||
}
|
||||
|
||||
override fun computePackageNames(): Set<String>? = null
|
||||
override fun computePackageNames(): Set<String>? =
|
||||
buildSet {
|
||||
extensionProvider.extensions.forEach { extension ->
|
||||
extension.getContainedPackages().forEach { fqName ->
|
||||
add(fqName.asString())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override val hasSpecificClassifierPackageNamesComputation: Boolean get() = false
|
||||
override val hasSpecificCallablePackageNamesComputation: Boolean get() = false
|
||||
|
||||
Reference in New Issue
Block a user