mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-27232 [kotlin] Put ImportCandidatePointer into SymbolBasedAutoImportVariant
GitOrigin-RevId: 44e319237478011b6afe00688b93e973dcb0e334
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7989e790c4
commit
e2f381e22b
+1
@@ -190,6 +190,7 @@ object ImportQuickFixProvider {
|
||||
val sortedImportVariants = uniqueFqNameSortedImportCandidates
|
||||
.map { (candidate, priority) ->
|
||||
SymbolBasedAutoImportVariant(
|
||||
candidate.createPointer(),
|
||||
candidate.getFqName(),
|
||||
candidate.psi,
|
||||
getIconFor(candidate),
|
||||
|
||||
+1
@@ -8,6 +8,7 @@ import org.jetbrains.kotlin.name.FqName
|
||||
import javax.swing.Icon
|
||||
|
||||
internal data class SymbolBasedAutoImportVariant(
|
||||
val candidatePointer: ImportCandidatePointer,
|
||||
override val fqName: FqName,
|
||||
override val declarationToImport: PsiElement?,
|
||||
override val icon: Icon?,
|
||||
|
||||
Reference in New Issue
Block a user